Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How could I unblock some widgets after QDialog exec is called
tham 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
yuvaram last edited by
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.
Pablo J. Rogina last edited by
@tham you should ask yourself if you need/want a modal or a modeless dialog.
And based on the answer you achieve, you may need to revisit if some of the widgets you want enabled perhaps need to be part of the dialog.
You may want to share some screenshots in any case.