I designed a QMainWindow with QtCreator\'s designer. It consists of the default central widget (a QWidget) which contains a QVBo
QMainWindow
QtCreator\'s
QWidget
QVBo
Add at least one widget on your MainWindow. Then select your window by clicking on it and click on the VerticalLayout Button at the top of QTCreator. You Vertical Layout is automatically added to the central widget and fills all the surface.
MainWindow
VerticalLayout
QTCreator