KColorScheme
kstatefulbrush.cpp
26KStatefulBrush::KStatefulBrush(KColorScheme::ColorSet set, KColorScheme::ForegroundRole role, KSharedConfigPtr config)
34KStatefulBrush::KStatefulBrush(KColorScheme::ColorSet set, KColorScheme::BackgroundRole role, KSharedConfigPtr config)
43KStatefulBrush::KStatefulBrush(KColorScheme::ColorSet set, KColorScheme::DecorationRole role, KSharedConfigPtr config)
62KStatefulBrush::KStatefulBrush(const QBrush &brush, const QBrush &background, KSharedConfigPtr config)
69 d->brushes[QPalette::Disabled] = StateEffects(QPalette::Disabled, config).brush(brush, background);
70 d->brushes[QPalette::Inactive] = StateEffects(QPalette::Inactive, config).brush(brush, background);
ForegroundRole
This enumeration describes the foreground color being selected from the given set.
Definition kcolorscheme.h:209
BackgroundRole
This enumeration describes the background color being selected from the given set.
Definition kcolorscheme.h:135
ColorSet
This enumeration describes the color set for which a color is being selected.
Definition kcolorscheme.h:65
QBrush background(BackgroundRole=NormalBackground) const
Retrieve the requested background brush.
Definition kcolorscheme.cpp:463
DecorationRole
This enumeration describes the decoration color being selected from the given set.
Definition kcolorscheme.h:270
QBrush decoration(DecorationRole) const
Retrieve the requested decoration brush.
Definition kcolorscheme.cpp:473
QBrush foreground(ForegroundRole=NormalText) const
Retrieve the requested foreground brush.
Definition kcolorscheme.cpp:468
QBrush brush(QPalette::ColorGroup) const
Retrieve the brush for the specified widget state.
Definition kstatefulbrush.cpp:89
KStatefulBrush & operator=(const KStatefulBrush &)
Standard assignment operator.
Definition kstatefulbrush.cpp:81
Active
ColorGroup currentColorGroup() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.