How to disable the parent form when a child form is active?
Solved
General and Desktop
-
Hi and welcome
Its called a modal dialog and its activated by calling exec() and not show()
Mydialog dialog;;
dialog.exec(); // local event loop and blocking.If Widget is not QDialog, you can read about
setWindowModality(Qt::ApplicationModal);
http://doc.qt.io/qt-5/qwidget.html#windowModality-propto get such effect.
-
Hi and welcome
Its called a modal dialog and its activated by calling exec() and not show()
Mydialog dialog;;
dialog.exec(); // local event loop and blocking.If Widget is not QDialog, you can read about
setWindowModality(Qt::ApplicationModal);
http://doc.qt.io/qt-5/qwidget.html#windowModality-propto get such effect.