Property Documentation
modal : bool
This property holds whether show() should pop up the dialog as modal or modeless.
By default, this property is false and show() pops up the dialog as modeless. Setting his property to true is equivalent to setting QWidget::windowModality to Qt::ApplicationModal.
exec() ignores the value of this property and always pops up the dialog as modal.
Access functions:
bool isModal () const
void setModal ( bool modal )
See also QWidget::windowModality, show(), and exec().