Progress Bar Color Property

Discussion about recent product features & solutions!
3 posts • Page 1 of 1
zscriven
Posts:21
Joined: Tue Jul 05, 2016 11:03 pm

Progress Bar Color Property

Post by zscriven »

Image 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. Image

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Progress Bar Color Property

Post by mkoller »

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 »

Thank you!

3 posts • Page 1 of 1