From 9fc3c91388ae6f139813fbf700efc261b430b1d6 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周一, 11 12月 2023 14:58:06 +0800
Subject: [PATCH] Merge pull request #1 from stdware/qml

---
 src/quick/quickitemdelegate_p.h |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/quick/quickitemdelegate_p.h b/src/quick/quickitemdelegate_p.h
index 658752f..a63aa71 100644
--- a/src/quick/quickitemdelegate_p.h
+++ b/src/quick/quickitemdelegate_p.h
@@ -10,17 +10,18 @@
 namespace QWK {
 
     class QWK_QUICK_EXPORT QuickItemDelegate : public WindowItemDelegate {
-        Q_DISABLE_COPY(QuickItemDelegate)
-
     public:
         QuickItemDelegate();
         ~QuickItemDelegate() override;
 
     public:
-        QWindow *window(QObject *obj) const override;
+        QWindow *window(const QObject *obj) const override;
+        bool isEnabled(const QObject *obj) const override;
+        bool isVisible(const QObject *obj) const override;
+        QRect mapGeometryToScene(const QObject *obj) const override;
 
-        bool isEnabled(QObject *obj) const override;
-        bool isVisible(QObject *obj) const override;
+        QWindow * hostWindow(const QObject *host) const override;
+        bool isHostSizeFixed(const QObject *host) const override;
     };
 
 }

--
Gitblit v1.9.1