Qt::ApplicationModal and Dialogs designed with QtCreator
23/11/2010 Leave a Comment
If you design a dialog with qtcreator, and do *not* tick the “modal” property, weird stuff happen.
The dialog will not be modal, even though you show it with exec(). It will report it self as Qt::ApplicationModal, but it wont actually be.
So, remember to tick that “modal” property in qtcreator/designer.
Sigh.
Advertisement