From d02f3b0bc32f711bf33a7fd288185963e9e96189 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: 周二, 05 12月 2023 16:21:28 +0800 Subject: [PATCH] add isFixedSize implementation --- src/quick/quickitemdelegate_p.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/quick/quickitemdelegate_p.h b/src/quick/quickitemdelegate_p.h index 9977617..b8bd84d 100644 --- a/src/quick/quickitemdelegate_p.h +++ b/src/quick/quickitemdelegate_p.h @@ -12,13 +12,16 @@ class QWK_QUICK_EXPORT QuickItemDelegate : public WindowItemDelegate { public: QuickItemDelegate(); - ~QuickItemDelegate(); + ~QuickItemDelegate() override; 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