Kirigami2
platformtheme.h
54 Q_PROPERTY(ColorGroup colorGroup READ colorGroup WRITE setColorGroup NOTIFY colorGroupChanged FINAL)
68 Q_PROPERTY(QColor textColor READ textColor WRITE setCustomTextColor RESET setCustomTextColor NOTIFY colorsChanged FINAL)
76 Q_PROPERTY(QColor disabledTextColor READ disabledTextColor WRITE setCustomDisabledTextColor RESET setCustomDisabledTextColor NOTIFY colorsChanged FINAL)
82 QColor highlightedTextColor READ highlightedTextColor WRITE setCustomHighlightedTextColor RESET setCustomHighlightedTextColor NOTIFY colorsChanged)
87 Q_PROPERTY(QColor activeTextColor READ activeTextColor WRITE setCustomActiveTextColor RESET setCustomActiveTextColor NOTIFY colorsChanged FINAL)
92 Q_PROPERTY(QColor linkColor READ linkColor WRITE setCustomLinkColor RESET setCustomLinkColor NOTIFY colorsChanged FINAL)
97 Q_PROPERTY(QColor visitedLinkColor READ visitedLinkColor WRITE setCustomVisitedLinkColor RESET setCustomVisitedLinkColor NOTIFY colorsChanged FINAL)
102 Q_PROPERTY(QColor negativeTextColor READ negativeTextColor WRITE setCustomNegativeTextColor RESET setCustomNegativeTextColor NOTIFY colorsChanged FINAL)
107 Q_PROPERTY(QColor neutralTextColor READ neutralTextColor WRITE setCustomNeutralTextColor RESET setCustomNeutralTextColor NOTIFY colorsChanged FINAL)
112 Q_PROPERTY(QColor positiveTextColor READ positiveTextColor WRITE setCustomPositiveTextColor RESET setCustomPositiveTextColor NOTIFY colorsChanged FINAL)
118 Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE setCustomBackgroundColor RESET setCustomBackgroundColor NOTIFY colorsChanged FINAL)
126 Q_PROPERTY(QColor alternateBackgroundColor READ alternateBackgroundColor WRITE setCustomAlternateBackgroundColor RESET setCustomAlternateBackgroundColor
132 Q_PROPERTY(QColor highlightColor READ highlightColor WRITE setCustomHighlightColor RESET setCustomHighlightColor NOTIFY colorsChanged FINAL)
138 QColor activeBackgroundColor READ activeBackgroundColor WRITE setCustomActiveBackgroundColor RESET setCustomActiveBackgroundColor NOTIFY colorsChanged)
144 QColor linkBackgroundColor READ linkBackgroundColor WRITE setCustomLinkBackgroundColor RESET setCustomLinkBackgroundColor NOTIFY colorsChanged FINAL)
149 Q_PROPERTY(QColor visitedLinkBackgroundColor READ visitedLinkBackgroundColor WRITE setCustomVisitedLinkBackgroundColor RESET
155 Q_PROPERTY(QColor negativeBackgroundColor READ negativeBackgroundColor WRITE setCustomNegativeBackgroundColor RESET setCustomNegativeBackgroundColor NOTIFY
161 Q_PROPERTY(QColor neutralBackgroundColor READ neutralBackgroundColor WRITE setCustomNeutralBackgroundColor RESET setCustomNeutralBackgroundColor NOTIFY
167 Q_PROPERTY(QColor positiveBackgroundColor READ positiveBackgroundColor WRITE setCustomPositiveBackgroundColor RESET setCustomPositiveBackgroundColor NOTIFY
174 Q_PROPERTY(QColor focusColor READ focusColor WRITE setCustomFocusColor RESET setCustomFocusColor NOTIFY colorsChanged FINAL)
179 Q_PROPERTY(QColor hoverColor READ hoverColor WRITE setCustomHoverColor RESET setCustomHoverColor NOTIFY colorsChanged FINAL)
185 bool useAlternateBackgroundColor READ useAlternateBackgroundColor WRITE setUseAlternateBackgroundColor NOTIFY useAlternateBackgroundColorChanged FINAL)
283 virtual Q_INVOKABLE QIcon iconFromTheme(const QString &name, const QColor &customColor = Qt::transparent);
375 * A class that tracks changes to PlatformTheme properties and emits signals at the right moment.
404 PlatformThemeChangeTracker(PlatformTheme *theme, PropertyChanges changes = PropertyChange::None);
A class that tracks changes to PlatformTheme properties and emits signals at the right moment.
Definition platformtheme.h:387
PropertyChange
Flags used to indicate changes made to certain properties.
Definition platformtheme.h:392
This class is the base for color management in Kirigami, different platforms can reimplement this cla...
Definition platformtheme.h:34
QColor neutralTextColor
Foreground color for neutral areas, such as warning texts (but not critical)
Definition platformtheme.h:107
QColor textColor
Color for normal foregrounds, usually text, but not limited to it, anything that should be painted wi...
Definition platformtheme.h:68
QColor activeTextColor
Foreground for areas that are active or requesting attention.
Definition platformtheme.h:87
bool inherit
If true, the colorSet will be inherited from the colorset of a theme of one of the ancestor items def...
Definition platformtheme.h:61
QColor activeBackgroundColor
Background for areas that are active or requesting attention.
Definition platformtheme.h:138
QColor visitedLinkBackgroundColor
Background color for visited links, usually a bit darker than linkBackgroundColor.
Definition platformtheme.h:150
ColorGroup colorGroup
This enumeration describes the color group used to generate the colors.
Definition platformtheme.h:54
QColor negativeBackgroundColor
Background color for negative areas, such as critical errors and destructive actions.
Definition platformtheme.h:156
QColor positiveBackgroundColor
Background color for positive areas, such as success messages and trusted content.
Definition platformtheme.h:168
QColor negativeTextColor
Foreground color for negative areas, such as critical error text.
Definition platformtheme.h:102
@ Header
Color set to be used by heading areas of applications, such as toolbars.
Definition platformtheme.h:219
@ Complementary
Color set meant to be complementary to Window: usually is a dark theme for light themes.
Definition platformtheme.h:217
QColor neutralBackgroundColor
Background color for neutral areas, such as warnings (but not critical)
Definition platformtheme.h:162
ColorSet colorSet
This enumeration describes the color set for which a color is being selected.
Definition platformtheme.h:46
QColor visitedLinkColor
Color for visited links, usually a bit darker than linkColor.
Definition platformtheme.h:97
QColor alternateBackgroundColor
The generic background color Alternate background; for example, for use in lists.
Definition platformtheme.h:127
QColor disabledTextColor
Foreground color for disabled areas, usually a mid-gray.
Definition platformtheme.h:76
QColor highlightedTextColor
Color for text that has been highlighted, often is a light color while normal text is dark.
Definition platformtheme.h:82
bool useAlternateBackgroundColor
Hint for item views to actually make use of the alternate background color feature.
Definition platformtheme.h:185
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
Type
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Disabled
transparent
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:21 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:21 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.