30 Q_PROPERTY(
Theme theme READ theme WRITE setTheme RESET resetTheme NOTIFY themeChanged FINAL)
31 Q_PROPERTY(
QVariant accent READ accent WRITE setAccent RESET resetAccent NOTIFY accentChanged FINAL)
33 Q_PROPERTY(
QVariant background READ background WRITE setBackground RESET resetBackground NOTIFY backgroundChanged FINAL)
38 Q_PROPERTY(
QColor altMediumHighColor READ altMediumHighColor NOTIFY paletteChanged FINAL)
39 Q_PROPERTY(
QColor altMediumLowColor READ altMediumLowColor NOTIFY paletteChanged FINAL)
43 Q_PROPERTY(
QColor baseMediumHighColor READ baseMediumHighColor NOTIFY paletteChanged FINAL)
44 Q_PROPERTY(
QColor baseMediumLowColor READ baseMediumLowColor NOTIFY paletteChanged FINAL)
45 Q_PROPERTY(
QColor chromeAltLowColor READ chromeAltLowColor NOTIFY paletteChanged FINAL)
46 Q_PROPERTY(
QColor chromeBlackHighColor READ chromeBlackHighColor NOTIFY paletteChanged FINAL)
47 Q_PROPERTY(
QColor chromeBlackLowColor READ chromeBlackLowColor NOTIFY paletteChanged FINAL)
48 Q_PROPERTY(
QColor chromeBlackMediumLowColor READ chromeBlackMediumLowColor NOTIFY paletteChanged FINAL)
49 Q_PROPERTY(
QColor chromeBlackMediumColor READ chromeBlackMediumColor NOTIFY paletteChanged FINAL)
50 Q_PROPERTY(
QColor chromeDisabledHighColor READ chromeDisabledHighColor NOTIFY paletteChanged FINAL)
51 Q_PROPERTY(
QColor chromeDisabledLowColor READ chromeDisabledLowColor NOTIFY paletteChanged FINAL)
54 Q_PROPERTY(
QColor chromeMediumColor READ chromeMediumColor NOTIFY paletteChanged FINAL)
55 Q_PROPERTY(
QColor chromeMediumLowColor READ chromeMediumLowColor NOTIFY paletteChanged FINAL)
74 void setTheme(Theme theme);
75 void inheritTheme(Theme theme);
76 void propagateTheme();
104 void setAccent(
const QVariant &accent);
105 void inheritAccent(
QRgb accent);
106 void propagateAccent();
111 void inheritForeground(
QRgb foreground,
bool has);
112 void propagateForeground();
113 void resetForeground();
116 void setBackground(
const QVariant &background);
117 void inheritBackground(
QRgb background,
bool has);
118 void propagateBackground();
119 void resetBackground();
123 QColor altHighColor()
const;
124 QColor altLowColor()
const;
125 QColor altMediumColor()
const;
126 QColor altMediumHighColor()
const;
127 QColor altMediumLowColor()
const;
128 QColor baseHighColor()
const;
129 QColor baseLowColor()
const;
130 QColor baseMediumColor()
const;
131 QColor baseMediumHighColor()
const;
132 QColor baseMediumLowColor()
const;
133 QColor chromeAltLowColor()
const;
134 QColor chromeBlackHighColor()
const;
135 QColor chromeBlackLowColor()
const;
136 QColor chromeBlackMediumLowColor()
const;
137 QColor chromeBlackMediumColor()
const;
138 QColor chromeDisabledHighColor()
const;
139 QColor chromeDisabledLowColor()
const;
140 QColor chromeHighColor()
const;
141 QColor chromeLowColor()
const;
142 QColor chromeMediumColor()
const;
143 QColor chromeMediumLowColor()
const;
144 QColor chromeWhiteColor()
const;
145 QColor listLowColor()
const;
146 QColor listMediumColor()
const;
175 QColor systemColor(SystemColor role)
const;
177 static void initGlobals();
194 bool m_explicitTheme =
false;
195 bool m_explicitAccent =
false;
196 bool m_explicitForeground =
false;
197 bool m_explicitBackground =
false;
202 bool m_hasForeground =
false;
203 bool m_hasBackground =
false;
205 Theme m_theme = Light;