Try QProgressDialog.
Thanks code_err, this is exactely what I needed...
In fact, even if I don't use the QProgressBar, the code is frozen during the 'for' loops...
No particular problem with this in the past, but now, since I want to use a 'Cancel' button, things are different...
Best Regards,
Stéphane
PS : Also, thanks to Wysota
If you want to keep your program resposive, then call qApp->processEvents(); inside the loop.
Rakma74 (1st October 2012)
This is absolutely PERFECT !!
Exactely what I needed... I tested it, it works perfectly and is so simple to implement...
Thank you very much Boudie !!
Bookmarks