KStyleManager
Functions | |
QAction * | createConfigureAction (QObject *parent=nullptr) |
void | initStyle () |
Detailed Description
Function Documentation
◆ createConfigureAction()
Creates an action to configure the current used style.
If the application is running using the KDE platform theme, this will just return a disabled and hidden action, else it will provide an action to show a menu to select the style to use for this applications.
- Since
- 6.3
Definition at line 42 of file kstylemanager.cpp.
◆ initStyle()
void KStyleManager::initStyle | ( | ) |
Enforces the style configured by the user with fallback to the Breeze style.
(following the settings in the application configuration with fallback to kdeglobals)
Must be called after one has constructed the QApplication.
If the application is already using the KDE platform theme, the style will not be touched and the platform theme will ensure proper styling.
- Since
- 6.3
Definition at line 23 of file kstylemanager.cpp.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.