21 static QString pluginVersion();
22 static bool isDXcbPlatform();
23 static bool connectWindowManagerChangedSignal(QObject *
object, std::function<
void ()> slot);
24 static bool connectHasBlurWindowChanged(QObject *
object, std::function<
void ()> slot);
25 static WId windowLeader();
27 void enableDXcb(
bool redirectContent);
31 bool setWindowWallpaperPara(
const QRect &area, DPlatformHandle::WallpaperScaleMode sMode, DPlatformHandle::WallpaperFillMode fMode);
33 bool autoInputMaskByClipPath()
const;
34 void setAutoInputMaskByClipPath(
bool autoInputMaskByClipPath);
36 WId realWindowId()
const;
38 void setEnabled(
bool enabled)
override;
39 bool isEnabled()
const override;
41 void setDisableWindowOverrideCursor(
bool disable)
override;
43 bool isEnabledNoTitlebar()
const override;
44 bool setEnabledNoTitlebar(
bool enable)
override;
46 int windowRadius()
const override;
47 void setWindowRadius(
int windowRadius)
override;
49 int borderWidth()
const override;
50 void setBorderWidth(
int borderWidth)
override;
52 QColor borderColor()
const override;
53 void setBorderColor(
const QColor &borderColor)
override;
55 int shadowRadius()
const override;
56 void setShadowRadius(
int shadowRadius)
override;
58 QPoint shadowOffset()
const override;
59 void setShadowOffset(
const QPoint &shadowOffset)
override;
61 QColor shadowColor()
const override;
62 void setShadowColor(
const QColor &shadowColor)
override;
64 DPlatformHandle::EffectScene windowEffect()
override;
65 void setWindowEffect(DPlatformHandle::EffectScenes effectScene)
override;
67 DPlatformHandle::EffectType windowStartUpEffect()
override;
68 void setWindowStartUpEffect(DPlatformHandle::EffectTypes effectType)
override;
70 QPainterPath clipPath()
const override;
71 void setClipPath(
const QPainterPath &clipPath)
override;
73 QRegion frameMask()
const override;
74 void setFrameMask(
const QRegion &frameMask)
override;
76 QMargins frameMargins()
const override;
78 bool translucentBackground()
const override;
79 void setTranslucentBackground(
bool translucentBackground)
override;
81 bool enableSystemResize()
const override;
82 void setEnableSystemResize(
bool enableSystemResize)
override;
84 bool enableSystemMove()
const override;
85 void setEnableSystemMove(
bool enableSystemMove)
override;
87 bool enableBlurWindow()
const override;
88 void setEnableBlurWindow(
bool enableBlurWindow)
override;
91 bool eventFilter(QObject *watched, QEvent *event)
override;