Unsolved How to disable a window without menuBar?
michalt38 last edited by
is it possible to disable a whole window just without menuBar?
raven-worx Moderators last edited by
no, once a widget is disabled all of its (grand-)children are also disabled.
Pradeep Kumar last edited by
Qt follows parent child relationship .
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.