[Qt-interest] dynamic color of a qprogressbar

wim.delvaux at adaptiveplanet.com wim.delvaux at adaptiveplanet.com
Thu Dec 10 02:54:33 CET 2009


Hi,

I want the color of a progressbar to change based on its value.
Easiest thing would be to set the color (Brush?) of the bar to some value.

However I cannot figure out how to do that.

My other progressbars are styled using a stylesheet but that is rather static.

W



More information about the Qt-interest-old mailing list