QMainWindow maximize
-
I'm assuming that you are using the layout to display the elements. Which are the other widgets you have in display ? Did you look at the stretch factor for widget while adding them to layout ? This should help you.
-
ok. Did you look at QEvent::WindowStateChange event ?
-
Did you get a chance to look at QEvent::WindowStateChange and Qt::WindowMaximized and implement event(...) method in your MainWindow class ?