#include <theme_manager.h>
◆ Role
| Enumerator |
|---|
| MinRole | |
| Hand | |
| Stack | |
| Table | |
| Player | |
| MaxRole | |
◆ ThemeManager()
| ThemeManager::ThemeManager |
( |
QObject * | parent = nullptr | ) |
|
- Todo
- Workaround for windows11 style being broken.
◆ applyStyleAndPalette()
| void ThemeManager::applyStyleAndPalette |
( |
const QString & | themeName, |
|
|
const ThemeConfig & | themeCfg, |
|
|
const PaletteConfig & | palCfg, |
|
|
const QString & | activeScheme ) |
|
protected |
◆ ensureThemeDirectoryExists()
| void ThemeManager::ensureThemeDirectoryExists |
( |
| ) |
|
|
protected |
◆ getAvailableThemes()
◆ getBgBrush()
| QBrush & ThemeManager::getBgBrush |
( |
Role | zone | ) |
|
◆ getCurrentThemePath()
| QString ThemeManager::getCurrentThemePath |
( |
| ) |
const |
|
inline |
◆ getExtraBgBrush()
| QBrush ThemeManager::getExtraBgBrush |
( |
Role | zone, |
|
|
int | zoneId = 0 ) |
◆ isBuiltInTheme()
| bool ThemeManager::isBuiltInTheme |
( |
| ) |
|
◆ isDarkMode()
| bool ThemeManager::isDarkMode |
( |
const QString & | themeDirPath | ) |
|
◆ loadBrush()
| QBrush ThemeManager::loadBrush |
( |
QString | fileName, |
|
|
QColor | fallbackColor ) |
|
protected |
◆ loadExtraBrush()
| QBrush ThemeManager::loadExtraBrush |
( |
QString | fileName, |
|
|
QBrush & | fallbackBrush ) |
|
protected |
◆ loadGlobalConfig()
| ThemeConfig ThemeManager::loadGlobalConfig |
( |
const QString & | themeDirPath | ) |
|
|
static |
◆ loadPaletteConfig()
| PaletteConfig ThemeManager::loadPaletteConfig |
( |
const QString & | themeDirPath, |
|
|
const QString & | colorScheme ) |
|
static |
◆ previewPalette()
| void ThemeManager::previewPalette |
( |
const PaletteConfig & | cfg, |
|
|
const QString & | scheme ) |
◆ reloadCurrentTheme()
| void ThemeManager::reloadCurrentTheme |
( |
| ) |
|
◆ saveGlobalConfig()
| bool ThemeManager::saveGlobalConfig |
( |
const QString & | themeDirPath, |
|
|
const ThemeConfig & | cfg ) |
|
static |
◆ savePaletteConfig()
| bool ThemeManager::savePaletteConfig |
( |
const QString & | themeDirPath, |
|
|
const QString & | colorScheme, |
|
|
const PaletteConfig & | cfg ) |
|
static |
◆ setColorScheme()
| void ThemeManager::setColorScheme |
( |
const QString & | scheme | ) |
|
◆ themeChanged
| void ThemeManager::themeChanged |
( |
| ) |
|
|
signal |
◆ themeChangedSlot
| void ThemeManager::themeChangedSlot |
( |
| ) |
|
|
protectedslot |
◆ availableThemes
◆ brushes
◆ brushesCache
◆ currentThemePath
| QString ThemeManager::currentThemePath |
|
private |
◆ defaultStyleName
| QString ThemeManager::defaultStyleName |
|
private |
The documentation for this class was generated from the following files: