From 3cfe15a9c3db0993d8b8fef5d148625840e5a75c Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 05 12月 2023 15:43:39 +0800
Subject: [PATCH] Add host interface

---
 src/quick/quickitemdelegate_p.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/quick/quickitemdelegate_p.h b/src/quick/quickitemdelegate_p.h
index 51463ee..b8bd84d 100644
--- a/src/quick/quickitemdelegate_p.h
+++ b/src/quick/quickitemdelegate_p.h
@@ -16,10 +16,12 @@
 
     public:
         QWindow *window(QObject *obj) const override;
-
         bool isEnabled(QObject *obj) const override;
         bool isVisible(QObject *obj) const override;
         QRect mapGeometryToScene(const QObject *obj) const override;
+
+        QWindow * hostWindow(QObject *host) const override;
+        bool isHostSizeFixed(QObject *host) const override;
     };
 
 }

--
Gitblit v1.9.1