33 enum BoolOptional : qint8 {
42 bool ensurePlatformHandle();
43 void destoryPlatformHandle();
44 void setWindow(QWindow *newWindow);
45 void _q_onWindowMotifHintsChanged(quint32 winId);
49 void _q_updateBlurAreaForWindow();
50 void _q_updateClipPath();
51 void _q_ensurePlatformHandle();
52#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
54 void _q_updateWindowPalette();
55 void _q_onPaletteChanged();
58 QPointer<QWindow> window =
nullptr;
59 WId splitMenuWindowId = 0;
60 DPlatformHandle *handle =
nullptr;
61 BoolOptional explicitEnable {Invalid};
62 BoolOptional explicitTranslucentBackground {Invalid};
63 BoolOptional explicitEnableSystemResize {Invalid};
64 BoolOptional explicitEnableSystemMove {Invalid};
65 BoolOptional explicitEnableBlurWindow {Invalid};
66 qint8 explicitWindowRadius = -1;
67 qint8 explicitBorderWidth = -1;
68 qint8 explicitShadowRadius = -1;
69 QPoint explicitShadowOffset;
70 QColor explicitBorderColor;
71 QColor explicitShadowColor;
72 DPlatformHandle::EffectScenes explicitEffectScene {};
73 DPlatformHandle::EffectTypes explicitEffectType {};
75 DWindowManagerHelper::WmWindowTypes wmWindowTypes;
76 DWindowManagerHelper::MotifFunctions motifFunctions;
77 DWindowManagerHelper::MotifDecorations motifDecorations;
79 QList<DQuickBehindWindowBlur*> blurList;
80 QQuickPath *clipPath =
nullptr;
81 QQuickTransition *overlayExitedTransition =
nullptr;
82 QQmlComponent *loadingOverlay =
nullptr;
84#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
85 DGuiApplicationHelper::ColorType themeType{DGuiApplicationHelper::UnknownType};
86 bool paletteInit =
false;
87 QQuickPalette *quickPalette =
nullptr;
88 QQuickPalette *inactiveQuickPalette =
nullptr;
89 std::array<QMetaObject::Connection, 2> paletteConnections;