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 | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/mainwindow/light-style.qss b/examples/mainwindow/light-style.qss index eef4066..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; } @@ -144,6 +146,10 @@ background-color: #F3F3F3; } +MainWindow[custom-style=true] { + background-color: transparent; +} + QWidget#clock-widget { font-size: 75px; color: #333333; -- Gitblit v1.9.1