From 79b1f3110754f9c21af2d7dacbd07b1a9dbaf6ef Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: 周三, 10 1月 2024 11:52:57 +0800 Subject: [PATCH] workaround qml import issue --- src/widgets/widgetitemdelegate_p.h | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/widgets/widgetitemdelegate_p.h b/src/widgets/widgetitemdelegate_p.h index f0ae939..f63077c 100644 --- a/src/widgets/widgetitemdelegate_p.h +++ b/src/widgets/widgetitemdelegate_p.h @@ -1,5 +1,18 @@ +// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware) +// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao) +// SPDX-License-Identifier: Apache-2.0 + #ifndef WIDGETITEMDELEGATE_P_H #define WIDGETITEMDELEGATE_P_H + +// +// W A R N I N G !!! +// ----------------- +// +// This file is not part of the QWindowKit API. It is used purely as an +// implementation detail. This header file may change from version to +// version without notice, or may even be removed. +// #include <QtCore/QObject> #include <QtGui/QWindow> @@ -31,6 +44,8 @@ void setCursorShape(QObject *host, Qt::CursorShape shape) const override; void restoreCursorShape(QObject *host) const override; void setWindowFlags(QObject *host, Qt::WindowFlags flags) const override; + void setWindowVisible(QObject *host, bool visible) const override; + void bringWindowToTop(QObject *host) const override; }; } -- Gitblit v1.9.1