PDA

View Full Version : to create a circle progressbar



wagmare
9th March 2010, 11:18
hi friends,
i try to use circle progressBar just like in windows ... so please suggest me a clear way ...
in Qt is there any way to use circle progressbar ..? or i have to customize it manually using QPainter ...
in paintEvent() what will be an easy way to do it...
please suggest me a clear idea ... just a outline hint is enough ...

thanks in advance ...

toutarrive
9th March 2010, 11:33
Maybe those links could be useful to you.

(http://www.codeproject.com/KB/cpp/ProgressDisk.aspx)
(http://www.codeproject.com/KB/cs/mrg_loadingcircle.aspx)

wagmare
9th March 2010, 11:47
thanks for the link ... it will be nice if i painted the progressbar like the first link object....

aamer4yu
9th March 2010, 11:47
You could also go for a simple way... Use a busy cursor animated gif and show that :)

toutarrive
9th March 2010, 11:48
It would be nice if you could give us some feedback on your implementation...

Thanks in advance.

wagmare
9th March 2010, 11:52
You could also go for a simple way... Use a busy cursor animated gif and show that :)

yeah its a good way ... but i am aiming like this .. when user selects some operation
make the screen black and in middle rotate the progressBar circle until the operatio completes ... it will be good task ...?

aamer4yu
9th March 2010, 12:42
make the screen black and in middle rotate the progressBar circle until the operatio completes ... it will be good task ...?
You can show a widget fullscreen with semi transparency. In the middle of the widget you can have a QLabel running the gif as a movie, or you will need to do you custom painting.
Whether to add painting in the full screen widget or create a custom widget and then add it to the full screen widget is your choice.

Prakash502
31st October 2012, 13:54
Maybe those links could be useful to you.

(http://www.codeproject.com/KB/cpp/ProgressDisk.aspx)
(http://www.codeproject.com/KB/cs/mrg_loadingcircle.aspx)

How to make use of first link in QT ? I'm not good at .net forms.

Any help is appreciated..

Sintegrial
16th November 2015, 23:45
http://qroundprogressbar.sourceforge.net