From 5bfd136473edc506b860177bf88626e35a5a1ba4 Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: ćšć, 28 12æ 2023 12:06:54 +0800 Subject: [PATCH] Add mac blur view --- 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