How to block signals on QMainWindow?
-
@
myMainWindowPointer->blockSignals(true);
@Just remember to unblock it later.
-
Or set the QDialogBox as a model dialog, this will block GUI inputs to the MainWindow if you prefer to keep the mainwindow 'running' in the background e.g. updates of the statusbar etc.
-
Hi,
Is your dialog modal ? Are you showing it using exec ?