From 2f2ee6571e9ce784db0488ade60816f09bd7448c Mon Sep 17 00:00:00 2001
From: SineStriker <trueful@163.com>
Date: 周三, 27 12月 2023 01:56:47 +0800
Subject: [PATCH] Finish customize system button pos for QtWidgets

---
 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 8418c59..3d4e4a3 100644
--- a/src/core/windowitemdelegate_p.h
+++ b/src/core/windowitemdelegate_p.h
@@ -43,6 +43,8 @@
         virtual void setCursorShape(QObject *host, Qt::CursorShape shape) const = 0;
         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 bringWindowToTop(QObject *host) const = 0;
 
     private:
         Q_DISABLE_COPY(WindowItemDelegate)

--
Gitblit v1.9.1