View Full Version : How to stop event loop of QDialog in Qt4
node_ex
7th July 2008, 10:58
Hi,
I am using Qt4. How to stop event loop of QDialog. i.e i need to set d->eventLoop = 0;
Regards,
node_ex.
What are you trying to achieve? Are you trying to switch a model dialog as modeless on the fly?
node_ex
8th July 2008, 05:20
Hi,
yes i want to change modal dialog as modeless while program is running . how can i do it.
Regards,
node_ex
wysota
8th July 2008, 07:19
Take a look at QDialog::modal. If you don't want to use any of the solutions mentioned there, then call done() on the dialog and then show() it.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.