51 Q_PROPERTY(QQuickWindow *window READ window CONSTANT)
52 Q_PROPERTY(
bool enabled READ isEnabled WRITE setEnabled NOTIFY enabledChanged)
53 Q_PROPERTY(
int windowRadius READ windowRadius WRITE setWindowRadius NOTIFY windowRadiusChanged)
54 Q_PROPERTY(
int borderWidth READ borderWidth WRITE setBorderWidth NOTIFY borderWidthChanged)
55 Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor NOTIFY borderColorChanged)
56 Q_PROPERTY(
int shadowRadius READ shadowRadius WRITE setShadowRadius NOTIFY shadowRadiusChanged)
57 Q_PROPERTY(QPoint shadowOffset READ shadowOffset WRITE setShadowOffset NOTIFY shadowOffsetChanged)
58 Q_PROPERTY(QColor shadowColor READ shadowColor WRITE setShadowColor NOTIFY shadowColorChanged)
59 Q_PROPERTY(
bool translucentBackground READ translucentBackground WRITE setTranslucentBackground NOTIFY translucentBackgroundChanged)
60 Q_PROPERTY(
bool enableSystemResize READ enableSystemResize WRITE setEnableSystemResize NOTIFY enableSystemResizeChanged)
61 Q_PROPERTY(
bool enableSystemMove READ enableSystemMove WRITE setEnableSystemMove NOTIFY enableSystemMoveChanged)
62 Q_PROPERTY(
bool enableBlurWindow READ enableBlurWindow WRITE setEnableBlurWindow NOTIFY enableBlurWindowChanged)
63 Q_PROPERTY(
int alphaBufferSize READ alphaBufferSize WRITE setAlphaBufferSize NOTIFY alphaBufferSizeChanged)
64 Q_PROPERTY(QQuickPath *clipPath READ clipPath WRITE setClipPath NOTIFY clipPathChanged)
65 Q_PROPERTY(DTK_GUI_NAMESPACE::DWindowManagerHelper::WmWindowTypes wmWindowTypes READ wmWindowTypes WRITE setWmWindowTypes NOTIFY wmWindowTypesChanged)
66 Q_PROPERTY(DTK_GUI_NAMESPACE::DWindowManagerHelper::MotifFunctions motifFunctions READ motifFunctions WRITE setMotifFunctions NOTIFY motifFunctionsChanged)
67 Q_PROPERTY(DTK_GUI_NAMESPACE::DWindowManagerHelper::MotifDecorations motifDecorations READ motifDecorations WRITE setMotifDecorations NOTIFY motifDecorationsChanged)
68 Q_PROPERTY(QQuickTransition *overlayExited READ overlayExited WRITE setOverlayExited NOTIFY overlayExitedChanged FINAL)
69 Q_PROPERTY(QQmlComponent *loadingOverlay READ loadingOverlay WRITE setLoadingOverlay NOTIFY loadingOverlayChanged FINAL)
70 Q_PROPERTY(DTK_QUICK_NAMESPACE::
DQuickAppLoaderItem *appLoader READ appLoader NOTIFY appLoaderChanged)
71#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
78 QQuickWindow *window()
const;
79 bool isEnabled()
const;
81 int windowRadius()
const;
83 int borderWidth()
const;
84 QColor borderColor()
const;
86 int shadowRadius()
const;
87 QPoint shadowOffset()
const;
88 QColor shadowColor()
const;
90 QRegion frameMask()
const;
92 bool translucentBackground()
const;
93 bool enableSystemResize()
const;
94 bool enableSystemMove()
const;
95 bool enableBlurWindow()
const;
96 int alphaBufferSize()
const;
98 QQuickPath *clipPath()
const;
100 QQuickTransition *overlayExited()
const;
101 QQmlComponent *loadingOverlay()
const;
106 DTK_GUI_NAMESPACE::DWindowManagerHelper::WmWindowTypes wmWindowTypes()
const;
107 DTK_GUI_NAMESPACE::DWindowManagerHelper::MotifFunctions motifFunctions()
const;
108 DTK_GUI_NAMESPACE::DWindowManagerHelper::MotifDecorations motifDecorations()
const;
111 void setEnabled(
bool e);
113 void setWindowRadius(
int windowRadius);
115 void setBorderWidth(
int borderWidth);
116 void setBorderColor(
const QColor &borderColor);
118 void setShadowRadius(
int shadowRadius);
119 void setShadowOffset(
const QPoint &shadowOffset);
120 void setShadowColor(
const QColor &shadowColor);
122 void setTranslucentBackground(
bool translucentBackground);
123 void setEnableSystemResize(
bool enableSystemResize);
124 void setEnableSystemMove(
bool enableSystemMove);
125 void setEnableBlurWindow(
bool enableBlurWindow);
126 void setAlphaBufferSize(
int size);
128 void setWmWindowTypes(DTK_GUI_NAMESPACE::DWindowManagerHelper::WmWindowTypes wmWindowTypes);
129 void setMotifFunctions(DTK_GUI_NAMESPACE::DWindowManagerHelper::MotifFunctions motifFunctions);
130 void setMotifDecorations(DTK_GUI_NAMESPACE::DWindowManagerHelper::MotifDecorations motifDecorations);
132 void popupSystemWindowMenu();
134 bool setWindowBlurAreaByWM(
const QVector<DPlatformHandle::WMBlurArea> &area);
135 bool setWindowBlurAreaByWM(
const QList<QPainterPath> &area);
137 void setClipPathByWM(
const QPainterPath &clipPath);
138 void setClipPath(QQuickPath *path);
139 void setOverlayExited(QQuickTransition *exit);
140 void setLoadingOverlay(QQmlComponent *component);
143 bool eventFilter(QObject *watched, QEvent *event)
override;
146 void enabledChanged();
147 void windowRadiusChanged();
148 void borderWidthChanged();
149 void borderColorChanged();
150 void shadowRadiusChanged();
151 void shadowOffsetChanged();
152 void shadowColorChanged();
153 void translucentBackgroundChanged();
154 void enableSystemResizeChanged();
155 void enableSystemMoveChanged();
156 void enableBlurWindowChanged();
157 void wmWindowTypesChanged();
158 void motifFunctionsChanged();
159 void motifDecorationsChanged();
160 void alphaBufferSizeChanged();
161 void clipPathChanged();
162 void overlayExitedChanged();
163 void loadingOverlayChanged();
164 void appLoaderChanged();
168 D_PRIVATE_SLOT(
void _q_onWindowMotifHintsChanged(quint32))
169 D_PRIVATE_SLOT(
void _q_updateBlurAreaForWindow())
170 D_PRIVATE_SLOT(
void _q_updateClipPath())
171 D_PRIVATE_SLOT(
void _q_ensurePlatformHandle())