Im searching for an circular progress indication Widget for Qt5 like this: http://anthonyterrien.com/knob/
Is there something similar or is it possible to do this in Qt?
I want to set the percentage manually, it shouldn't be a spinning circle or something like that
It is very easy to write. You need just special
paintEvent()
and slot tosetProgress()
. Of course if you want to add more beauty, then you need spend some time, but here is example:Header:
cpp:
Usage:
Result:
I showed here main idea, but I think that my code can be improved, for example add methods
setMinimum/Maximum
andsetValue
, as inQProgressBar
, but I hope you will add additional functionality manually if you need this.In addition to the above: who needs a simple implementation of what Chernobyl has posted there is a ready class that demonstrates a circular loading.