I want to have circular QProgressbar
which it's appearance must look like the normal QProgressbar
with the Range between 0 and 0.
The code for the linear QProgressbar
is some thing like below:
QProgressBar *_progressBar = new QProgressBar();
_progressBar->setTextVisible(false);
_progressBar->setRange(0, 0);
but I want it to be circular. Is there any way to implement it in qt?
One day I wrote a simple class to implement a circular progress bar for my purposes (Qt 4.6). You can modify its appearance as you need. Hope it will help.
loading.h
loading.cpp
Usage