48 Q_PROPERTY(
bool active READ isActive NOTIFY activeChanged)
52 Q_PROPERTY(
QString caption READ caption NOTIFY captionChanged)
56 Q_PROPERTY(
bool onAllDesktops READ isOnAllDesktops NOTIFY onAllDesktopsChanged)
61 Q_PROPERTY(
bool shaded READ isShaded NOTIFY shadedChanged)
65 Q_PROPERTY(
QIcon icon READ icon NOTIFY iconChanged)
71 Q_PROPERTY(
bool maximized READ isMaximized NOTIFY maximizedChanged)
76 Q_PROPERTY(
bool maximizedHorizontally READ isMaximizedHorizontally NOTIFY maximizedHorizontallyChanged)
81 Q_PROPERTY(
bool maximizedVertically READ isMaximizedVertically NOTIFY maximizedVerticallyChanged)
86 Q_PROPERTY(
bool keepAbove READ isKeepAbove NOTIFY keepAboveChanged)
91 Q_PROPERTY(
bool keepBelow READ isKeepBelow NOTIFY keepBelowChanged)
97 Q_PROPERTY(
bool closeable READ isCloseable NOTIFY closeableChanged)
102 Q_PROPERTY(
bool maximizeable READ isMaximizeable NOTIFY maximizeableChanged)
107 Q_PROPERTY(
bool minimizeable READ isMinimizeable NOTIFY minimizeableChanged)
112 Q_PROPERTY(
bool providesContextHelp READ providesContextHelp NOTIFY providesContextHelpChanged)
116 Q_PROPERTY(
bool modal READ isModal CONSTANT)
121 Q_PROPERTY(
bool shadeable READ isShadeable NOTIFY shadeableChanged)
125 Q_PROPERTY(
bool moveable READ isMoveable NOTIFY moveableChanged)
129 Q_PROPERTY(
bool resizeable READ isResizeable NOTIFY resizeableChanged)
134 Q_PROPERTY(qreal width READ width NOTIFY widthChanged)
138 Q_PROPERTY(qreal height READ height NOTIFY heightChanged)
142 Q_PROPERTY(
QSizeF size READ size NOTIFY sizeChanged)
147 Q_PROPERTY(
QPalette palette READ palette NOTIFY paletteChanged)
152 Q_PROPERTY(
Qt::Edges adjacentScreenEdges READ adjacentScreenEdges NOTIFY adjacentScreenEdgesChanged)
157 Q_PROPERTY(
bool hasApplicationMenu READ hasApplicationMenu NOTIFY hasApplicationMenuChanged)
163 Q_PROPERTY(
bool applicationMenuActive READ isApplicationMenuActive NOTIFY applicationMenuActiveChanged)
169 Q_PROPERTY(qreal scale READ scale NOTIFY scaleChanged);
175 Q_PROPERTY(qreal nextScale READ nextScale NOTIFY nextScaleChanged)
180 bool isActive() const;
182 bool isOnAllDesktops() const;
183 bool isShaded() const;
185 bool isMaximized() const;
186 bool isMaximizedHorizontally() const;
187 bool isMaximizedVertically() const;
188 bool isKeepAbove() const;
189 bool isKeepBelow() const;
191 bool isCloseable() const;
192 bool isMaximizeable() const;
193 bool isMinimizeable() const;
194 bool providesContextHelp() const;
195 bool isModal() const;
196 bool isShadeable() const;
197 bool isMoveable() const;
198 bool isResizeable() const;
200 Qt::Edges adjacentScreenEdges() const;
205 qreal height() const;
231 bool hasApplicationMenu() const;
237 bool isApplicationMenuActive() const;
243 void showApplicationMenu(
int actionId);
253 qreal nextScale() const;
258 qreal pixelSize() const;
264 qreal snapToPixelGrid(qreal value) const;
285 void activeChanged(
bool);
287 void onAllDesktopsChanged(
bool);
288 void shadedChanged(
bool);
289 void iconChanged(
QIcon);
290 void maximizedChanged(
bool);
291 void maximizedHorizontallyChanged(
bool);
292 void maximizedVerticallyChanged(
bool);
293 void keepAboveChanged(
bool);
294 void keepBelowChanged(
bool);
296 void closeableChanged(
bool);
297 void maximizeableChanged(
bool);
298 void minimizeableChanged(
bool);
299 void providesContextHelpChanged(
bool);
300 void shadeableChanged(
bool);
301 void moveableChanged(
bool);
302 void resizeableChanged(
bool);
304 void widthChanged(qreal);
305 void heightChanged(qreal);
306 void sizeChanged(const
QSizeF &size);
307 void paletteChanged(const
QPalette &palette);
308 void adjacentScreenEdgesChanged(
Qt::Edges edges);
310 void hasApplicationMenuChanged(
bool);
311 void applicationMenuActiveChanged(
bool);
313 void nextScaleChanged();
318 const std::unique_ptr<DecoratedWindowPrivate> d;