| | |
| | | // Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware) |
| | | // Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao) |
| | | // SPDX-License-Identifier: Apache-2.0 |
| | | |
| | | #include "windowagentbase.h" |
| | | #include "windowagentbase_p.h" |
| | | |
| | |
| | | \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); |