How could I unblock some widgets after QDialog exec is called
-
wrote on 14 Feb 2018, 04:27 last edited by
As the title mentioned, exec of QDialog will prevent you to manipulate any widgets except of the QDialog itself, is it possible to tell the QDialog, there are some widget should not be blocked?Thanks
-
wrote on 14 Feb 2018, 05:16 last edited by
Hi @tham ,
http://doc.qt.io/qt-5/qt.html#WindowModality-enum
this could help you -
There is no "one click" way to do it, but you can disable modality of the widget and then selectively call
setEnabled(false)
only on widgets you wish to block. -
wrote on 14 Feb 2018, 17:57 last edited by
1/4