Hi Guys,
I've seen in the documentation that indeterminate QProgressBar can be customized using Style Sheets, by using the :indeterminate pseudo state, but I had no success using it.
Changing the color of the ::chunk sub-control for a normal QProgressBar:
background-color: red;
}
QProgressBar::chunk{
background-color: red;
}
To copy to clipboard, switch view to plain text mode
And then I tried :
background-color: blue;
}
QProgressBar::chunk:indeterminate{
background-color: blue;
}
To copy to clipboard, switch view to plain text mode
but this was with no success.
I also tried:
background-color: blue;
}
QProgressBar:indeterminate::chunk{
background-color: blue;
}
To copy to clipboard, switch view to plain text mode
, but again, no success.
Has any of you managed to successfully use the :indeterminate state?
Thanks and regards,
Wladek
P.S.: take a look at the attached screen shot (the upper progress bar is an indeterminate progress bar)
Bookmarks