KConfigWidgets
kstatefulbrush.cpp
30 KStatefulBrush::KStatefulBrush(KColorScheme::ColorSet set, KColorScheme::ForegroundRole role, KSharedConfigPtr config)
38 KStatefulBrush::KStatefulBrush(KColorScheme::ColorSet set, KColorScheme::BackgroundRole role, KSharedConfigPtr config)
47 KStatefulBrush::KStatefulBrush(KColorScheme::ColorSet set, KColorScheme::DecorationRole role, KSharedConfigPtr config)
66 KStatefulBrush::KStatefulBrush(const QBrush &brush, const QBrush &background, KSharedConfigPtr config)
73 d->brushes[QPalette::Disabled] = StateEffects(QPalette::Disabled, config).brush(brush, background);
74 d->brushes[QPalette::Inactive] = StateEffects(QPalette::Inactive, config).brush(brush, background);
KStatefulBrush & operator=(const KStatefulBrush &)
Standard assignment operator.
Definition: kstatefulbrush.cpp:85
palette
QBrush background(BackgroundRole=NormalBackground) const
Retrieve the requested background brush.
Definition: kcolorscheme.cpp:472
ForegroundRole
This enumeration describes the foreground color being selected from the given set.
Definition: kcolorscheme.h:209
QPalette::ColorGroup currentColorGroup() const const
ColorSet
This enumeration describes the color set for which a color is being selected.
Definition: kcolorscheme.h:65
QBrush foreground(ForegroundRole=NormalText) const
Retrieve the requested foreground brush.
Definition: kcolorscheme.cpp:477
Definition: kcolorscheme.h:55
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:482
Active
Definition: kstatefulbrush.h:40
BackgroundRole
This enumeration describes the background color being selected from the given set.
Definition: kcolorscheme.h:135
QBrush brush(QPalette::ColorGroup) const
Retrieve the brush for the specified widget state.
Definition: kstatefulbrush.cpp:93
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:54:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:54:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.