Qt 6.11 is out! See what's new in the release
blog
How to block signals on QMainWindow?
General and Desktop
4
Posts
4
Posters
1.8k
Views
1
Watching
-
@
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 ?