Changeset View
Changeset View
Standalone View
Standalone View
plugins/kdecorations/aurorae/src/decorationoptions.h
Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Line(s) | 178 | enum BorderSize { | |||
---|---|---|---|---|---|
185 | BorderHuge, ///< Huge borders | 185 | BorderHuge, ///< Huge borders | ||
186 | BorderVeryHuge, ///< Very huge borders | 186 | BorderVeryHuge, ///< Very huge borders | ||
187 | BorderOversized ///< Oversized borders | 187 | BorderOversized ///< Oversized borders | ||
188 | }; | 188 | }; | ||
189 | /** | 189 | /** | ||
190 | * Enum values to identify the decorations buttons which should be used | 190 | * Enum values to identify the decorations buttons which should be used | ||
191 | * by the decoration. | 191 | * by the decoration. | ||
192 | * | 192 | * | ||
193 | */ | 193 | **/ | ||
194 | enum DecorationButton { | 194 | enum DecorationButton { | ||
195 | /** | 195 | /** | ||
196 | * Invalid button value. A decoration should not create a button for | 196 | * Invalid button value. A decoration should not create a button for | ||
197 | * this type. | 197 | * this type. | ||
198 | */ | 198 | **/ | ||
199 | DecorationButtonNone, | 199 | DecorationButtonNone, | ||
200 | DecorationButtonMenu, | 200 | DecorationButtonMenu, | ||
201 | DecorationButtonApplicationMenu, | 201 | DecorationButtonApplicationMenu, | ||
202 | DecorationButtonOnAllDesktops, | 202 | DecorationButtonOnAllDesktops, | ||
203 | DecorationButtonQuickHelp, | 203 | DecorationButtonQuickHelp, | ||
204 | DecorationButtonMinimize, | 204 | DecorationButtonMinimize, | ||
205 | DecorationButtonMaximizeRestore, | 205 | DecorationButtonMaximizeRestore, | ||
206 | DecorationButtonClose, | 206 | DecorationButtonClose, | ||
207 | DecorationButtonKeepAbove, | 207 | DecorationButtonKeepAbove, | ||
208 | DecorationButtonKeepBelow, | 208 | DecorationButtonKeepBelow, | ||
209 | DecorationButtonShade, | 209 | DecorationButtonShade, | ||
210 | DecorationButtonResize, | 210 | DecorationButtonResize, | ||
211 | /** | 211 | /** | ||
212 | * The decoration should create an empty spacer instead of a button for | 212 | * The decoration should create an empty spacer instead of a button for | ||
213 | * this type. | 213 | * this type. | ||
214 | */ | 214 | **/ | ||
215 | DecorationButtonExplicitSpacer | 215 | DecorationButtonExplicitSpacer | ||
216 | }; | 216 | }; | ||
217 | explicit DecorationOptions(QObject *parent = nullptr); | 217 | explicit DecorationOptions(QObject *parent = nullptr); | ||
218 | virtual ~DecorationOptions(); | 218 | virtual ~DecorationOptions(); | ||
219 | 219 | | |||
220 | QColor titleBarColor() const; | 220 | QColor titleBarColor() const; | ||
221 | QColor titleBarBlendColor() const; | 221 | QColor titleBarBlendColor() const; | ||
222 | QColor fontColor() const; | 222 | QColor fontColor() const; | ||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |