|
QtCanpool 3.3.0
|
#include <qxribbon/ribbontheme.h>

Public 类型 | |
| enum | ThemeStyle { LightYellowTheme , LightOffice2013Theme , LightClassicTheme , LightFancyTheme , DarkWpsTheme , DarkOfficePlusTheme , CustomTheme } |
静态 Public 成员函数 | |
| static void | loadTheme (const QString &themeFile, QWidget *widget=nullptr) |
| If the widget is nullptr, css/qss will be applied to QApplication | |
| static void | setTheme (int themeStyle, QWidget *widget=nullptr) |
| If you have a custom theme, please use loadTheme | |
在文件 ribbontheme.h 第 14 行定义.
| 枚举值 | |
|---|---|
| LightYellowTheme | |
| LightOffice2013Theme | |
| LightClassicTheme | |
| LightFancyTheme | |
| DarkWpsTheme | |
| DarkOfficePlusTheme | |
| CustomTheme | |
在文件 ribbontheme.h 第 18 行定义.
|
static |
If the widget is nullptr, css/qss will be applied to QApplication
在文件 ribbontheme.cpp 第 13 行定义.
|
static |
If you have a custom theme, please use loadTheme
在文件 ribbontheme.cpp 第 31 行定义.