Discussion about recent product features & solutions!
zscriven
Posts: 21 Joined: Tue Jul 05, 2016 11:03 pm
Progress Bar Color Property
Post
by zscriven » Wed Oct 19, 2016 7:42 pm
Is there a way to change the color of the progress bar?
Also is there a way to disable the flashing aspect?
I know there is other objects in the std library that would allow for this, but I really like the progress bar.
See attached image.
mkoller
Posts: 741 Joined: Fri Sep 17, 2010 9:03 am
Re: Progress Bar Color Property
Post
by mkoller » Thu Oct 20, 2016 9:33 am
The images can not be seen.
If you are talking about the ProgressBar widget, then you can change aspects via a stylesheet.
E.g. in the extended tab on styleSheet enter:
QProgressBar::chunk {
background-color: #05B8CC;
width: 20px;
}
See:
http://doc.qt.io/qt-5/stylesheet-exampl ... rogressbar
zscriven
Posts: 21 Joined: Tue Jul 05, 2016 11:03 pm
Re: Progress Bar Color Property
Post
by zscriven » Fri Oct 21, 2016 9:26 pm
Thank you!