[SOLVED]QProgressBar custom stylesheet
-
wrote on 23 Oct 2013, 18:51 last edited by
Hi,
I would like to change the color of the text inside the QProgressBar, the text that usually show the % completed.
However, I would show the time elapsed instead of %
I know how to show my text, but didnt't find where to change the font color of the text
Thank youWhat I want :
https://www.dropbox.com/s/5l09s0qnqpur53o/futureProgressBar.png -
wrote on 23 Oct 2013, 18:57 last edited by
nevermind, the attribute to change in the stylesheet is "color" I was changing background-color, it's fixed
@ QProgressBar#progressBar_workout, #progressBar_interval {
background-color: rgb(75, 75, 75);
border: 2px solid grey;
border-radius: 5px;
text-align: center;
color: rgb(255,255,255)
}@
1/2