|
enum class | KdeSettingType {
Root
, KDE
, Icons
, ToolBarIcons
,
ToolBarStyle
, Fonts
, Colors
, Root
,
KDE
, Icons
, ToolBarIcons
, ToolBarStyle
,
Fonts
, Colors
} |
enum class | KdeSetting {
WidgetStyle
, ColorScheme
, SingleClick
, ShowIconsOnPushButtons
,
IconTheme
, ToolBarIconSize
, ToolButtonStyle
, WheelScrollLines
,
DoubleClickInterval
, StartDragDistance
, StartDragTime
, CursorBlinkRate
,
Font
, Fixed
, MenuFont
, ToolBarFont
,
ButtonBackground
, WindowBackground
, ViewForeground
, WindowForeground
,
ViewBackground
, SelectionBackground
, SelectionForeground
, ViewBackgroundAlternate
,
ButtonForeground
, ViewForegroundLink
, ViewForegroundVisited
, TooltipBackground
,
TooltipForeground
, WidgetStyle
, ColorScheme
, SingleClick
,
ShowIconsOnPushButtons
, IconTheme
, ToolBarIconSize
, ToolButtonStyle
,
WheelScrollLines
, DoubleClickInterval
, StartDragDistance
, StartDragTime
,
CursorBlinkRate
, Font
, Fixed
, MenuFont
,
ToolBarFont
, ButtonBackground
, WindowBackground
, ViewForeground
,
WindowForeground
, ViewBackground
, SelectionBackground
, SelectionForeground
,
ViewBackgroundAlternate
, ButtonForeground
, ViewForegroundLink
, ViewForegroundVisited
,
TooltipBackground
, TooltipForeground
} |
enum class | KdeSettingType {
Root
, KDE
, Icons
, ToolBarIcons
,
ToolBarStyle
, Fonts
, Colors
, Root
,
KDE
, Icons
, ToolBarIcons
, ToolBarStyle
,
Fonts
, Colors
} |
enum class | KdeSetting {
WidgetStyle
, ColorScheme
, SingleClick
, ShowIconsOnPushButtons
,
IconTheme
, ToolBarIconSize
, ToolButtonStyle
, WheelScrollLines
,
DoubleClickInterval
, StartDragDistance
, StartDragTime
, CursorBlinkRate
,
Font
, Fixed
, MenuFont
, ToolBarFont
,
ButtonBackground
, WindowBackground
, ViewForeground
, WindowForeground
,
ViewBackground
, SelectionBackground
, SelectionForeground
, ViewBackgroundAlternate
,
ButtonForeground
, ViewForegroundLink
, ViewForegroundVisited
, TooltipBackground
,
TooltipForeground
, WidgetStyle
, ColorScheme
, SingleClick
,
ShowIconsOnPushButtons
, IconTheme
, ToolBarIconSize
, ToolButtonStyle
,
WheelScrollLines
, DoubleClickInterval
, StartDragDistance
, StartDragTime
,
CursorBlinkRate
, Font
, Fixed
, MenuFont
,
ToolBarFont
, ButtonBackground
, WindowBackground
, ViewForeground
,
WindowForeground
, ViewBackground
, SelectionBackground
, SelectionForeground
,
ViewBackgroundAlternate
, ButtonForeground
, ViewForegroundLink
, ViewForegroundVisited
,
TooltipBackground
, TooltipForeground
} |
|
static QString | kdeGlobals (const QString &kdeDir, int kdeVersion) |
static QVariant | readKdeSetting (KdeSetting s, const QStringList &kdeDirs, int kdeVersion, QHash< QString, QSettings * > &settings) |
static void | readKdeSystemPalette (const QStringList &kdeDirs, int kdeVersion, QHash< QString, QSettings * > &kdeSettings, QPalette *pal) |
static QFont * | kdeFont (const QVariant &fontValue) |
static QStringList | kdeIconThemeSearchPaths (const QStringList &kdeDirs) |
static QString | kdeGlobals (const QString &kdeDir, int kdeVersion) |
static QVariant | readKdeSetting (KdeSetting s, const QStringList &kdeDirs, int kdeVersion, QHash< QString, QSettings * > &settings) |
static void | readKdeSystemPalette (const QStringList &kdeDirs, int kdeVersion, QHash< QString, QSettings * > &kdeSettings, QPalette *pal) |
static QFont * | kdeFont (const QVariant &fontValue) |
static QStringList | kdeIconThemeSearchPaths (const QStringList &kdeDirs) |
static unsigned | currentKeyPlatforms () |
Definition at line 24 of file qkdetheme.cpp.
◆ KdeSetting [1/2]
Enumerator |
---|
WidgetStyle | |
ColorScheme | |
SingleClick | |
ShowIconsOnPushButtons | |
IconTheme | |
ToolBarIconSize | |
ToolButtonStyle | |
WheelScrollLines | |
DoubleClickInterval | |
StartDragDistance | |
StartDragTime | |
CursorBlinkRate | |
Font | |
Fixed | |
MenuFont | |
ToolBarFont | |
ButtonBackground | |
WindowBackground | |
ViewForeground | |
WindowForeground | |
ViewBackground | |
SelectionBackground | |
SelectionForeground | |
ViewBackgroundAlternate | |
ButtonForeground | |
ViewForegroundLink | |
ViewForegroundVisited | |
TooltipBackground | |
TooltipForeground | |
WidgetStyle | |
ColorScheme | |
SingleClick | |
ShowIconsOnPushButtons | |
IconTheme | |
ToolBarIconSize | |
ToolButtonStyle | |
WheelScrollLines | |
DoubleClickInterval | |
StartDragDistance | |
StartDragTime | |
CursorBlinkRate | |
Font | |
Fixed | |
MenuFont | |
ToolBarFont | |
ButtonBackground | |
WindowBackground | |
ViewForeground | |
WindowForeground | |
ViewBackground | |
SelectionBackground | |
SelectionForeground | |
ViewBackgroundAlternate | |
ButtonForeground | |
ViewForegroundLink | |
ViewForegroundVisited | |
TooltipBackground | |
TooltipForeground | |
Definition at line 38 of file qkdetheme.cpp.
◆ KdeSetting [2/2]
Enumerator |
---|
WidgetStyle | |
ColorScheme | |
SingleClick | |
ShowIconsOnPushButtons | |
IconTheme | |
ToolBarIconSize | |
ToolButtonStyle | |
WheelScrollLines | |
DoubleClickInterval | |
StartDragDistance | |
StartDragTime | |
CursorBlinkRate | |
Font | |
Fixed | |
MenuFont | |
ToolBarFont | |
ButtonBackground | |
WindowBackground | |
ViewForeground | |
WindowForeground | |
ViewBackground | |
SelectionBackground | |
SelectionForeground | |
ViewBackgroundAlternate | |
ButtonForeground | |
ViewForegroundLink | |
ViewForegroundVisited | |
TooltipBackground | |
TooltipForeground | |
WidgetStyle | |
ColorScheme | |
SingleClick | |
ShowIconsOnPushButtons | |
IconTheme | |
ToolBarIconSize | |
ToolButtonStyle | |
WheelScrollLines | |
DoubleClickInterval | |
StartDragDistance | |
StartDragTime | |
CursorBlinkRate | |
Font | |
Fixed | |
MenuFont | |
ToolBarFont | |
ButtonBackground | |
WindowBackground | |
ViewForeground | |
WindowForeground | |
ViewBackground | |
SelectionBackground | |
SelectionForeground | |
ViewBackgroundAlternate | |
ButtonForeground | |
ViewForegroundLink | |
ViewForegroundVisited | |
TooltipBackground | |
TooltipForeground | |
Definition at line 38 of file qkdetheme.cpp.
◆ KdeSettingType [1/2]
Enumerator |
---|
Root | |
KDE | |
Icons | |
ToolBarIcons | |
ToolBarStyle | |
Fonts | |
Colors | |
Root | |
KDE | |
Icons | |
ToolBarIcons | |
ToolBarStyle | |
Fonts | |
Colors | |
Definition at line 28 of file qkdetheme.cpp.
◆ KdeSettingType [2/2]
Enumerator |
---|
Root | |
KDE | |
Icons | |
ToolBarIcons | |
ToolBarStyle | |
Fonts | |
Colors | |
Root | |
KDE | |
Icons | |
ToolBarIcons | |
ToolBarStyle | |
Fonts | |
Colors | |
Definition at line 28 of file qkdetheme.cpp.
◆ QKdeThemePrivate() [1/2]
QKdeThemePrivate::QKdeThemePrivate |
( |
const QStringList & | kdeDirs, |
|
|
int | kdeVersion ) |
◆ ~QKdeThemePrivate() [1/2]
QKdeThemePrivate::~QKdeThemePrivate |
( |
| ) |
|
|
inline |
◆ QKdeThemePrivate() [2/2]
QKdeThemePrivate::QKdeThemePrivate |
( |
const QStringList & | kdeDirs, |
|
|
int | kdeVersion ) |
◆ ~QKdeThemePrivate() [2/2]
QKdeThemePrivate::~QKdeThemePrivate |
( |
| ) |
|
|
inline |
◆ clearKdeSettings() [1/2]
void QKdeThemePrivate::clearKdeSettings |
( |
| ) |
const |
◆ clearKdeSettings() [2/2]
void QKdeThemePrivate::clearKdeSettings |
( |
| ) |
const |
◆ hasRequestedColorScheme() [1/2]
bool QKdeThemePrivate::hasRequestedColorScheme |
( |
| ) |
const |
|
inline |
◆ hasRequestedColorScheme() [2/2]
bool QKdeThemePrivate::hasRequestedColorScheme |
( |
| ) |
const |
|
inline |
◆ kdeFont() [1/2]
◆ kdeFont() [2/2]
◆ kdeGlobals() [1/2]
QString QKdeThemePrivate::kdeGlobals |
( |
const QString & | kdeDir, |
|
|
int | kdeVersion ) |
|
inlinestatic |
◆ kdeGlobals() [2/2]
QString QKdeThemePrivate::kdeGlobals |
( |
const QString & | kdeDir, |
|
|
int | kdeVersion ) |
|
inlinestatic |
◆ kdeIconThemeSearchPaths() [1/2]
◆ kdeIconThemeSearchPaths() [2/2]
◆ readKdeSetting() [1/4]
◆ readKdeSetting() [2/4]
◆ readKdeSetting() [3/4]
◆ readKdeSetting() [4/4]
◆ readKdeSystemPalette() [1/2]
◆ readKdeSystemPalette() [2/2]
◆ refresh() [1/2]
void QKdeThemePrivate::refresh |
( |
| ) |
|
◆ refresh() [2/2]
void QKdeThemePrivate::refresh |
( |
| ) |
|
◆ updateColorScheme() [1/2]
void QKdeThemePrivate::updateColorScheme |
( |
const QString & | themeName | ) |
|
QKdeTheme::updateColorScheme - guess and set a color scheme for unix themes. KDE themes do not have a color scheme property. The key words "dark" or "light" are usually part of the theme name. This is, however, not a mandatory convention.
If
- Parameters
-
themeName | contains a valid key word, the respective color scheme is set. If it doesn't, the color scheme is heuristically determined by comparing text and base color of the system palette. |
Definition at line 719 of file qkdetheme.cpp.
◆ updateColorScheme() [2/2]
void QKdeThemePrivate::updateColorScheme |
( |
const QString & | themeName | ) |
|
◆ cursorBlinkRate
int QKdeThemePrivate::cursorBlinkRate = 1000 |
◆ doubleClickInterval
int QKdeThemePrivate::doubleClickInterval = 400 |
◆ fonts
QFont * QKdeThemePrivate::fonts |
◆ iconFallbackThemeName
QString QKdeThemePrivate::iconFallbackThemeName |
◆ iconThemeName
QString QKdeThemePrivate::iconThemeName |
◆ kdeDirs
◆ kdeVersion
const int QKdeThemePrivate::kdeVersion |
◆ m_colorScheme
◆ m_requestedColorScheme
◆ showIconsOnPushButtons
bool QKdeThemePrivate::showIconsOnPushButtons = true |
◆ singleClick
bool QKdeThemePrivate::singleClick = true |
◆ startDragDist
int QKdeThemePrivate::startDragDist = 10 |
◆ startDragTime
int QKdeThemePrivate::startDragTime = 500 |
◆ styleNames
◆ systemPalette
std::unique_ptr< QPalette > QKdeThemePrivate::systemPalette |
◆ toolBarIconSize
int QKdeThemePrivate::toolBarIconSize = 0 |
◆ toolButtonStyle
◆ wheelScrollLines
int QKdeThemePrivate::wheelScrollLines = 3 |
The documentation for this class was generated from the following file: