Guasco | 2020-07-22 11:45:02 UTC | #1
Hi guys how can I change the text color from black to white of the percentage indicator inside the QProgressBar when it exceeds the value of 50?
eg:
if self.satusBar.value() > 50:
self.statusBar.setStyleSheet("QProgressBar::chunk { color: white; #ecc } ")
Over 10,000 developers have bought Create GUI Applications with Python & Qt!
[[ discount.discount_pc ]]% OFF for
the next [[ discount.duration ]]
[[discount.description ]]
with the code [[ discount.coupon_code ]]
Purchasing Power Parity
Developers in [[ country ]] get [[ discount.discount_pc ]]% OFF on all books & courses
with code [[ discount.coupon_code ]]