From 4d193ef7c61fb4800868f150be6a0bb04b725463 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 20 2月 2024 15:37:54 +0800 Subject: [PATCH] minor tweaks --- src/core/windowitemdelegate_p.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/core/windowitemdelegate_p.h b/src/core/windowitemdelegate_p.h index b2c7520..75bbf1e 100644 --- a/src/core/windowitemdelegate_p.h +++ b/src/core/windowitemdelegate_p.h @@ -40,6 +40,7 @@ virtual bool isWindowActive(const QObject *host) const = 0; virtual Qt::WindowStates getWindowState(const QObject *host) const = 0; virtual Qt::WindowFlags getWindowFlags(const QObject *host) const = 0; + virtual QRect getGeometry(const QObject *host) const = 0; // Callbacks virtual void resetQtGrabbedControl(QObject *host) const; @@ -48,6 +49,7 @@ virtual void restoreCursorShape(QObject *host) const = 0; virtual void setWindowFlags(QObject *host, Qt::WindowFlags flags) const = 0; virtual void setWindowVisible(QObject *host, bool visible) const = 0; + virtual void setGeometry(QObject *host, const QRect &rect) = 0; virtual void bringWindowToTop(QObject *host) const = 0; private: -- Gitblit v1.9.1