From 762fc89c5a233ad043dce509dd5bd2eb37e43792 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Sun, 25 Dec 2022 12:02:39 +0200 Subject: [PATCH] QProgressBar styles --- gui/modules/initialize/styles.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gui/modules/initialize/styles.py b/gui/modules/initialize/styles.py index 0b1c9ec..8188ec2 100644 --- a/gui/modules/initialize/styles.py +++ b/gui/modules/initialize/styles.py @@ -284,6 +284,20 @@ QSlider::handle:horizontal:hover { QSlider::handle:horizontal:pressed { background-color: rgba(191, 191, 191, 0); } + +QProgressBar { + text-align: center; + color: white; + border-width: 1px; + border-radius: 10px; + border-color: rgba(58, 58, 58, 0.5); + border-style: inset; + background-color: rgba(32, 32, 32, 0.5); +} +QProgressBar::chunk { + background-color: rgba(132, 132, 132, 0.5); + border-radius: 5px; +} """ menupage_b = """ @@ -618,6 +632,20 @@ QSlider::handle:horizontal:hover { QSlider::handle:horizontal:pressed { background-color: #bfbfbf; } + +QProgressBar { + text-align: center; + color: white; + border-width: 1px; + border-radius: 10px; + border-color: #3a3a3a; + border-style: inset; + background-color: #202020; +} +QProgressBar::chunk { + background-color: #848484; + border-radius: 5px; +} """ menupage_g = """