From c2e349f1c38b55fd12f8ae537e754fa6658ab631 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周一, 01 1月 2024 20:21:34 +0800 Subject: [PATCH] Tested 5.12.8 --- src/core/windowagentbase.cpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/core/windowagentbase.cpp b/src/core/windowagentbase.cpp index 7743886..4c1f26a 100644 --- a/src/core/windowagentbase.cpp +++ b/src/core/windowagentbase.cpp @@ -1,3 +1,6 @@ +// Copyright (C) 2023-2024 Stdware Collections +// SPDX-License-Identifier: Apache-2.0 + #include "windowagentbase.h" #include "windowagentbase_p.h" @@ -102,6 +105,8 @@ \li \c blur-effect: You can specify a string value, "dark" to enable dark mode, "light" to set enable mode, "none" to disable. You can also specify a boolean value, \c true to enable current theme mode, \c false to disable. + \li \c title-bar-height: Returns the system title bar height, the system button display + area will be limited to this height. (Readonly) */ bool WindowAgentBase::setWindowAttribute(const QString &key, const QVariant &attribute) { Q_D(WindowAgentBase); -- Gitblit v1.9.1