From 97a65514f04eb2db667c5ee22ec99472a8dc78c9 Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周日, 17 12月 2023 16:09:06 +0800 Subject: [PATCH] Test on Mac --- 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..42e7059 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, Qt::WindowStates state) const override; + void setCursorShape(QObject *host, Qt::CursorShape shape) const override; + void restoreCursorShape(QObject *host) const override; + void setWindowFlags(QObject *host, Qt::WindowFlags flags) const override; }; } -- Gitblit v1.9.1