Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to disable a window without menuBar?
michalt38 last edited by
is it possible to disable a whole window just without menuBar?
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.
ChrisW67 last edited by
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.