looking at the QProgressDialog docs...
Progress starts at the value set by setMinimum(), and the progress dialog shows that the operation has finished when you call setValue() with the value set by setMaximum() as its argument.
The dialog automatically resets and hides itself at the end of the operation. Use setAutoReset() and setAutoClose() to change this behavior.
Progress starts at the value set by setMinimum(), and the progress dialog shows that the operation has finished when you call setValue() with the value set by setMaximum() as its argument.
The dialog automatically resets and hides itself at the end of the operation. Use setAutoReset() and setAutoClose() to change this behavior.
To copy to clipboard, switch view to plain text mode
so it looks like this dialog is not ment for showing busy states..
try this if it works...i am not too sure
progressDialog->setBar(bar);
bar->setMinimum(0);bar->setMaximum(0);
progressDialog->show();
QProgressBar* bar=new QProgressBar;
progressDialog->setBar(bar);
bar->setMinimum(0);bar->setMaximum(0);
progressDialog->show();
To copy to clipboard, switch view to plain text mode
as a last resort u can make your own dialog class .
Bookmarks