From 96833537013e55ee42ef86ea75afca373bdced29 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: ćšć, 28 12æ 2023 20:23:50 +0800 Subject: [PATCH] add quick mac button API --- src/core/windowagentbase.cpp | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/core/windowagentbase.cpp b/src/core/windowagentbase.cpp index 336f2b7..ef8b0fb 100644 --- a/src/core/windowagentbase.cpp +++ b/src/core/windowagentbase.cpp @@ -99,7 +99,11 @@ internal state. On macOS, - \li \c no-system-buttons: Specify a boolean value to set the system buttons' visibility. + \li \c no-system-buttons: Specify a boolean value to set the system buttons' + visibility. + \li \c blur-effect: You can specify a string value, "dark" to set dark mode, "light" + to set light mode, "none" to disable. You can also specify a boolean value, + \c true to enable and set the current theme, \c false to disable. */ bool WindowAgentBase::setWindowAttribute(const QString &key, const QVariant &attribute) { Q_D(WindowAgentBase); -- Gitblit v1.9.1