DtkGui
DTK Gui module
|
Public 成员函数 | |
DXCBPlatformWindowInterface (QWindow *window, DPlatformHandle *platformHandle, QObject *parent=nullptr) | |
void | enableDXcb (bool redirectContent) |
bool | setWindowBlurArea (const QVector< DPlatformHandle::WMBlurArea > &area) |
DXCBPlatformWindowInterface::setWindowBlurAreaByWM 设置窗口背景的模糊区域,示例: | |
bool | setWindowBlurArea (const QList< QPainterPath > &paths) |
bool | setWindowWallpaperPara (const QRect &area, DPlatformHandle::WallpaperScaleMode sMode, DPlatformHandle::WallpaperFillMode fMode) |
bool | autoInputMaskByClipPath () const |
void | setAutoInputMaskByClipPath (bool autoInputMaskByClipPath) |
WId | realWindowId () const |
void | setEnabled (bool enabled) override |
bool | isEnabled () const override |
void | setDisableWindowOverrideCursor (bool disable) override |
bool | isEnabledNoTitlebar () const override |
bool | setEnabledNoTitlebar (bool enable) override |
int | windowRadius () const override |
void | setWindowRadius (int windowRadius) override |
int | borderWidth () const override |
void | setBorderWidth (int borderWidth) override |
QColor | borderColor () const override |
void | setBorderColor (const QColor &borderColor) override |
int | shadowRadius () const override |
void | setShadowRadius (int shadowRadius) override |
QPoint | shadowOffset () const override |
void | setShadowOffset (const QPoint &shadowOffset) override |
QColor | shadowColor () const override |
void | setShadowColor (const QColor &shadowColor) override |
DPlatformHandle::EffectScene | windowEffect () override |
void | setWindowEffect (DPlatformHandle::EffectScenes effectScene) override |
DPlatformHandle::EffectType | windowStartUpEffect () override |
void | setWindowStartUpEffect (DPlatformHandle::EffectTypes effectType) override |
QPainterPath | clipPath () const override |
void | setClipPath (const QPainterPath &clipPath) override |
QRegion | frameMask () const override |
void | setFrameMask (const QRegion &frameMask) override |
QMargins | frameMargins () const override |
bool | translucentBackground () const override |
void | setTranslucentBackground (bool translucentBackground) override |
bool | enableSystemResize () const override |
void | setEnableSystemResize (bool enableSystemResize) override |
bool | enableSystemMove () const override |
void | setEnableSystemMove (bool enableSystemMove) override |
bool | enableBlurWindow () const override |
void | setEnableBlurWindow (bool enableBlurWindow) override |
![]() | |
DPlatformWindowInterface (QWindow *window, DPlatformHandle *platformHandle) | |
QWindow * | window () const |
Protected 成员函数 | |
bool | eventFilter (QObject *watched, QEvent *event) override |
额外继承的成员函数 | |
![]() | |
QPointer< QWindow > | m_window |
QPointer< DPlatformHandle > | m_platformHandle |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
bool Dtk::Gui::DXCBPlatformWindowInterface::setWindowBlurArea | ( | const QVector< DPlatformHandle::WMBlurArea > & | area | ) |
DXCBPlatformWindowInterface::setWindowBlurAreaByWM 设置窗口背景的模糊区域,示例:
window 目标窗口对象 area 模糊区域,此区域范围内的窗口背景将填充为窗口后面内容模糊之后的图像
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |