QtCanpool 3.3.0
载入中...
搜索中...
未找到
qxtheme.h 文件参考
#include "qxtheme_global.h"
#include <QtCore/QMetaType>
#include <QtCore/QString>

浏览源代码.

命名空间

namespace  QxTheme
 Copyright (C) 2026 maminjie canpo.nosp@m.ol@1.nosp@m.63.co.nosp@m.m SPDX-License-Identifier: MulanPSL-2.0
 

枚举

enum  QxTheme::Theme {
  QxTheme::LightYellow , QxTheme::LightOffice2013 , QxTheme::LightClassic , QxTheme::LightFancy ,
  QxTheme::DarkWps , QxTheme::DarkOfficePlus , QxTheme::Custom
}
 The themes understood by QxThemeManager. 更多...
 

函数

QString QxTheme::themeId (Theme theme)
 Stable identifier written to the configuration.
 
QString QxTheme::themeName (Theme theme)
 Human readable name, suitable for a settings dialog.
 
Theme QxTheme::themeFromId (const QString &id, Theme fallback=LightYellow)
 Resolves an id produced by themeId(); fallback is returned for unknown ids.
 
bool QxTheme::isDarkTheme (Theme theme)
 True for the themes that draw on a dark background.
 
QString QxTheme::themeStyleSheetPath (Theme theme)
 Resource path of the style sheet shipped with theme, empty for Custom.
 
QString QxTheme::themeStyleSheet (Theme theme)
 Content of the built-in style sheet, empty when the resource is missing.