From 9dcea027f16c4ce5852da3dfc8aca284c582bd7d Mon Sep 17 00:00:00 2001 From: sola.lu <sola.lu.greentest.com.cn> Date: 周五, 06 6月 2025 18:19:18 +0800 Subject: [PATCH] 1.注释掉custom margin,解决程序放大后,遮盖窗口底部内容的问题。 --- examples/shared/widgetframe/windowbar_p.h | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/shared/widgetframe/windowbar_p.h b/examples/shared/widgetframe/windowbar_p.h index d84ef52..35422ae 100644 --- a/examples/shared/widgetframe/windowbar_p.h +++ b/examples/shared/widgetframe/windowbar_p.h @@ -1,9 +1,13 @@ +// 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 WINDOWBARPRIVATE_H #define WINDOWBARPRIVATE_H #include <QBoxLayout> -#include "WindowBar.h" +#include "windowbar.h" namespace QWK { @@ -25,8 +29,9 @@ IconButton, MenuWidget, TitleLabel, - MinimumButton, - MaximumButton, + PinButton, + MinimizeButton, + MaximizeButton, CloseButton, }; @@ -45,7 +50,7 @@ } private: - Q_DISABLE_COPY_MOVE(WindowBarPrivate) + Q_DISABLE_COPY(WindowBarPrivate) }; } -- Gitblit v1.9.1