I need to temporarily disable the main window, including the menu bar. The main window can be disabled simply using setEnabled(false)
however it seems that doesn't disable the menu bar, so the user can still click menu items (which in my case break the application).
Is there any way to completely disable all user interactions, including the menu bar?