From 9e96ea43436d5ed200c57d6b229cddf9bdf9e55a Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: 周一, 10 2月 2025 18:06:41 +0800 Subject: [PATCH] make demo a GUI application in CMake --- examples/mainwindow/light-style.qss | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/examples/mainwindow/light-style.qss b/examples/mainwindow/light-style.qss index 6c15e62..9180001 100644 --- a/examples/mainwindow/light-style.qss +++ b/examples/mainwindow/light-style.qss @@ -1,11 +1,13 @@ /* Window bar */ QWK--WindowBar[bar-active=true] { - background-color: #195ABE; + /*background-color: #195ABE;*/ + background-color: transparent; } QWK--WindowBar[bar-active=false] { - background-color: #195ABE; + /*background-color: #195ABE;*/ + background-color: transparent; } @@ -140,12 +142,12 @@ /* Window */ -MainWindow[custom-style=true] { - background-color: transparent; +MainWindow { + background-color: #F3F3F3; } -MainWindow[custom-style=false] { - background-color: #F3F3F3; +MainWindow[custom-style=true] { + background-color: transparent; } QWidget#clock-widget { -- Gitblit v1.9.1