How to disable a window without menuBar?
Unsolved
General and Desktop
-
@michalt38
no, once a widget is disabled all of its (grand-)children are also disabled. -
@michalt38
Qt follows parent child relationship .@raven-worx
mentions the relationship.hope this helps you.
-
For QMainWindow: If you want to disable the contents of the window, not the entire window, just disable the centralWidget() and toolbars. If the window is a QWidget and not a QMainWindow then make a single widget to act as the content area and enable/disable that.