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/widgets/widgetitemdelegate_p.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/widgets/widgetitemdelegate_p.h b/src/widgets/widgetitemdelegate_p.h
index cc11c54..11d60fd 100644
--- a/src/widgets/widgetitemdelegate_p.h
+++ b/src/widgets/widgetitemdelegate_p.h
@@ -16,11 +16,13 @@
 
     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;
+
         bool resetQtGrabbedControl() const override;
     };
 

--
Gitblit v1.9.1