From 76924a335f40a0c3cc13805b4cb9429c336d33ca Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周五, 29 12月 2023 11:34:22 +0800 Subject: [PATCH] Optimize system button area APIs --- src/core/windowagentbase.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/core/windowagentbase.cpp b/src/core/windowagentbase.cpp index 7743886..be6c6ca 100644 --- a/src/core/windowagentbase.cpp +++ b/src/core/windowagentbase.cpp @@ -102,6 +102,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