QtCanpool 3.3.0
载入中...
搜索中...
未找到
QxRibbon::RibbonTheme类 参考

#include <qxribbon/ribbontheme.h>

类 QxRibbon::RibbonTheme 继承关系图:

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 行定义.

成员枚举类型说明

◆ ThemeStyle

枚举值
LightYellowTheme 
LightOffice2013Theme 
LightClassicTheme 
LightFancyTheme 
DarkWpsTheme 
DarkOfficePlusTheme 
CustomTheme 

在文件 ribbontheme.h 第 18 行定义.

成员函数说明

◆ loadTheme()

void QxRibbon::RibbonTheme::loadTheme ( const QString &  themeFile,
QWidget *  widget = nullptr 
)
static

If the widget is nullptr, css/qss will be applied to QApplication

在文件 ribbontheme.cpp 第 13 行定义.

◆ setTheme()

void QxRibbon::RibbonTheme::setTheme ( int  themeStyle,
QWidget *  widget = nullptr 
)
static

If you have a custom theme, please use loadTheme

在文件 ribbontheme.cpp 第 31 行定义.


该类的文档由以下文件生成: