30
30
class FontProxy : public QObject
35
* true if the font is bold
33
37
Q_PROPERTY(bool bold READ bold NOTIFY boldChanged)
41
* MixedCase: The text is not changed
42
* AllUppercase: the text becomes UPPERCASE
43
* AllLowercase: the text becomes all lowercase
44
* SmallCaps: the lowercase characters becomes smaller uppercase ones
45
* Capitalize: the first letter of all words are uppercase
34
47
Q_PROPERTY(Capitalization capitalization READ capitalization NOTIFY capitalizationChanged )
50
* name of the font family
35
52
Q_PROPERTY(QString family READ family NOTIFY familyChanged )
55
* true if the font is italic
36
57
Q_PROPERTY(bool italic READ italic NOTIFY italicChanged )
60
* horizontal space between letters
37
62
Q_PROPERTY(qreal letterSpacing READ letterSpacing NOTIFY letterSpacingChanged )
65
* Size of the font in pixels: settings this is strongly discouraged.
38
68
Q_PROPERTY(int pixelSize READ pixelSize NOTIFY pixelSizeChanged )
71
* Size of the font in points
39
73
Q_PROPERTY(qreal pointSize READ pointSize NOTIFY pointSizeChanged )
76
* True if the text is striked out with an horizontal line
40
78
Q_PROPERTY(bool strikeout READ strikeout NOTIFY strikeoutChanged )
81
* True if all the text will be underlined
41
83
Q_PROPERTY(bool underline READ underline NOTIFY underlineChanged )
42
93
Q_PROPERTY(Weight weight READ weight NOTIFY weightChanged )
96
* Horizontal space between words
43
98
Q_PROPERTY(qreal wordSpacing READ wordSpacing NOTIFY wordSpacingChanged )
101
* Size in pixels of an uppercase "M" letter
44
103
Q_PROPERTY(QSize mSize READ mSize NOTIFY mSizeChanged )
46
105
Q_ENUMS(Capitalization)
143
202
Q_PROPERTY(int largeIconSize READ largeIconSize CONSTANT)
144
203
Q_PROPERTY(int hugeIconSize READ hugeIconSize CONSTANT)
145
204
Q_PROPERTY(int enormousIconSize READ enormousIconSize CONSTANT)
205
Q_PROPERTY(int defaultIconSize READ defaultIconSize NOTIFY defaultIconSizeChanged)
148
208
ThemeProxy(QObject *parent = 0);
179
239
int largeIconSize() const;
180
240
int hugeIconSize() const;
181
241
int enormousIconSize() const;
242
int defaultIconSize() const;
245
void iconLoaderSettingsChanged();
184
248
void themeChanged();
249
void defaultIconSizeChanged();
252
int m_defaultIconSize;