View Full Version : Problem with QProgressDialog
anoraxis
6th April 2011, 16:42
Hi, in my app I want to use a QProgressDialog without setting the range. It shows well but when the loop that is running ends the dialog dosn't close so is required to click on the cancel button. Some ideas?
stampede
6th April 2011, 22:23
If you call QDialog::accept() (http://doc.qt.nokia.com/latest/qdialog.html#accept) or QDialot::reject() (http://doc.qt.nokia.com/latest/qdialog.html#reject) after the loop, dialog will close. Show your code, it'll be easier to help.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.