Changeset View
Changeset View
Standalone View
Standalone View
plugins/kdecorations/aurorae/src/lib/auroraetheme.h
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | Library for Aurorae window decoration themes. | 2 | Library for Aurorae window decoration themes. | ||
3 | Copyright (C) 2009, 2010, 2012 Martin Gräßlin <mgraesslin@kde.org> | 3 | Copyright (C) 2009, 2010, 2012 Martin Gräßlin <mgraesslin@kde.org> | ||
4 | Copyright (C) 2019 Vlad Zagorodniy <vladzzag@gmail.com> | ||||
4 | 5 | | |||
5 | This program is free software; you can redistribute it and/or modify | 6 | This program is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by | ||
7 | the Free Software Foundation; either version 2 of the License, or | 8 | the Free Software Foundation; either version 2 of the License, or | ||
8 | (at your option) any later version. | 9 | (at your option) any later version. | ||
9 | 10 | | |||
10 | This program is distributed in the hope that it will be useful, | 11 | This program is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 63 | { | |||
64 | Q_PROPERTY(int borderLeft READ leftBorder NOTIFY borderSizesChanged) | 65 | Q_PROPERTY(int borderLeft READ leftBorder NOTIFY borderSizesChanged) | ||
65 | Q_PROPERTY(int borderRight READ rightBorder NOTIFY borderSizesChanged) | 66 | Q_PROPERTY(int borderRight READ rightBorder NOTIFY borderSizesChanged) | ||
66 | Q_PROPERTY(int borderTop READ topBorder NOTIFY borderSizesChanged) | 67 | Q_PROPERTY(int borderTop READ topBorder NOTIFY borderSizesChanged) | ||
67 | Q_PROPERTY(int borderBottom READ bottomBorder NOTIFY borderSizesChanged) | 68 | Q_PROPERTY(int borderBottom READ bottomBorder NOTIFY borderSizesChanged) | ||
68 | Q_PROPERTY(int borderLeftMaximized READ leftBorderMaximized NOTIFY borderSizesChanged) | 69 | Q_PROPERTY(int borderLeftMaximized READ leftBorderMaximized NOTIFY borderSizesChanged) | ||
69 | Q_PROPERTY(int borderRightMaximized READ rightBorderMaximized NOTIFY borderSizesChanged) | 70 | Q_PROPERTY(int borderRightMaximized READ rightBorderMaximized NOTIFY borderSizesChanged) | ||
70 | Q_PROPERTY(int borderTopMaximized READ topBorderMaximized NOTIFY borderSizesChanged) | 71 | Q_PROPERTY(int borderTopMaximized READ topBorderMaximized NOTIFY borderSizesChanged) | ||
71 | Q_PROPERTY(int borderBottomMaximized READ bottomBorderMaximized NOTIFY borderSizesChanged) | 72 | Q_PROPERTY(int borderBottomMaximized READ bottomBorderMaximized NOTIFY borderSizesChanged) | ||
73 | Q_PROPERTY(int resizeOnlyBorderLeft READ resizeOnlyLeftBorder NOTIFY borderSizesChanged) | ||||
74 | Q_PROPERTY(int resizeOnlyBorderRight READ resizeOnlyRightBorder NOTIFY borderSizesChanged) | ||||
75 | Q_PROPERTY(int resizeOnlyBorderTop READ resizeOnlyTopBorder NOTIFY borderSizesChanged) | ||||
76 | Q_PROPERTY(int resizeOnlyBorderBottom READ resizeOnlyBottomBorder NOTIFY borderSizesChanged) | ||||
77 | Q_PROPERTY(int resizeOnlyBorderLeftMaximized READ resizeOnlyLeftBorderMaximized NOTIFY borderSizesChanged) | ||||
78 | Q_PROPERTY(int resizeOnlyBorderRightMaximized READ resizeOnlyRightBorderMaximized NOTIFY borderSizesChanged) | ||||
79 | Q_PROPERTY(int resizeOnlyBorderTopMaximized READ resizeOnlyTopBorderMaximized NOTIFY borderSizesChanged) | ||||
80 | Q_PROPERTY(int resizeOnlyBorderBottomMaximized READ resizeOnlyBottomBorderMaximized NOTIFY borderSizesChanged) | ||||
72 | Q_PROPERTY(int paddingLeft READ paddingLeft NOTIFY themeChanged) | 81 | Q_PROPERTY(int paddingLeft READ paddingLeft NOTIFY themeChanged) | ||
73 | Q_PROPERTY(int paddingRight READ paddingRight NOTIFY themeChanged) | 82 | Q_PROPERTY(int paddingRight READ paddingRight NOTIFY themeChanged) | ||
74 | Q_PROPERTY(int paddingTop READ paddingTop NOTIFY themeChanged) | 83 | Q_PROPERTY(int paddingTop READ paddingTop NOTIFY themeChanged) | ||
75 | Q_PROPERTY(int paddingBottom READ paddingBottom NOTIFY themeChanged) | 84 | Q_PROPERTY(int paddingBottom READ paddingBottom NOTIFY themeChanged) | ||
76 | Q_PROPERTY(QString themeName READ themeName NOTIFY themeChanged) | 85 | Q_PROPERTY(QString themeName READ themeName NOTIFY themeChanged) | ||
77 | Q_PROPERTY(int buttonHeight READ buttonHeight NOTIFY themeChanged) | 86 | Q_PROPERTY(int buttonHeight READ buttonHeight NOTIFY themeChanged) | ||
78 | Q_PROPERTY(int buttonWidth READ buttonWidth NOTIFY themeChanged) | 87 | Q_PROPERTY(int buttonWidth READ buttonWidth NOTIFY themeChanged) | ||
79 | Q_PROPERTY(int buttonWidthMinimize READ buttonWidthMinimize NOTIFY themeChanged) | 88 | Q_PROPERTY(int buttonWidthMinimize READ buttonWidthMinimize NOTIFY themeChanged) | ||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 126 | public: | |||
124 | int leftBorder() const; | 133 | int leftBorder() const; | ||
125 | int rightBorder() const; | 134 | int rightBorder() const; | ||
126 | int topBorder() const; | 135 | int topBorder() const; | ||
127 | int bottomBorder() const; | 136 | int bottomBorder() const; | ||
128 | int leftBorderMaximized() const; | 137 | int leftBorderMaximized() const; | ||
129 | int rightBorderMaximized() const; | 138 | int rightBorderMaximized() const; | ||
130 | int topBorderMaximized() const; | 139 | int topBorderMaximized() const; | ||
131 | int bottomBorderMaximized() const; | 140 | int bottomBorderMaximized() const; | ||
141 | int resizeOnlyLeftBorder() const; | ||||
142 | int resizeOnlyRightBorder() const; | ||||
143 | int resizeOnlyTopBorder() const; | ||||
144 | int resizeOnlyBottomBorder() const; | ||||
145 | int resizeOnlyLeftBorderMaximized() const; | ||||
146 | int resizeOnlyRightBorderMaximized() const; | ||||
147 | int resizeOnlyTopBorderMaximized() const; | ||||
148 | int resizeOnlyBottomBorderMaximized() const; | ||||
132 | int paddingLeft() const; | 149 | int paddingLeft() const; | ||
133 | int paddingRight() const; | 150 | int paddingRight() const; | ||
134 | int paddingTop() const; | 151 | int paddingTop() const; | ||
135 | int paddingBottom() const; | 152 | int paddingBottom() const; | ||
136 | int buttonWidth() const; | 153 | int buttonWidth() const; | ||
137 | int buttonWidthMinimize() const; | 154 | int buttonWidthMinimize() const; | ||
138 | int buttonWidthMaximizeRestore() const; | 155 | int buttonWidthMaximizeRestore() const; | ||
139 | int buttonWidthClose() const; | 156 | int buttonWidthClose() const; | ||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |