From dddf96c011723a12b11acc2980c10eb370961021 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周五, 15 12月 2023 21:35:17 +0800 Subject: [PATCH] add qt impl --- src/quick/quickitemdelegate_p.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/quick/quickitemdelegate_p.h b/src/quick/quickitemdelegate_p.h index 6a8bd0d..636d2d8 100644 --- a/src/quick/quickitemdelegate_p.h +++ b/src/quick/quickitemdelegate_p.h @@ -23,6 +23,13 @@ QWindow *hostWindow(const QObject *host) const override; bool isHostSizeFixed(const QObject *host) const override; bool isWindowActive(const QObject *host) const override; + Qt::WindowStates getWindowState(const QObject *host) const override; + Qt::WindowFlags getWindowFlags(const QObject *host) const override; + + void setWindowState(QObject *host, const Qt::WindowStates &state) const override; + void setCursorShape(QObject *host, const Qt::CursorShape shape) const override; + void restoreCursorShape(QObject *host) const override; + void setWindowFlags(QObject *host, const Qt::WindowFlags &flags) const override; }; } -- Gitblit v1.9.1