QProgressBar: Start from mid.
Hi All,
I have a QProgressBar with the range of -50 to +50,
I want to set the value as 10 and the chunk should start from the 0 (from the mid).
But chunk is starting from the minimum value (-50).
How can I start the orientation from mid?
Thanks...
Re: QProgressBar: Start from mid.
You can't because this it not for what a progress bar is for. I am sorry, but you have to subclass and do the painting yourself.
Re: QProgressBar: Start from mid.
Thanks, Lykurg.
Actually I was using progress bar in custom button. and I have more things with it.
I have solved this one by taking 2 progress bar and using the "setInvertedAppearance" property.
Once again thanks for your response...:)