How to change QMainWindow size at runtime?

Printable View