[Qt-creator] Dynamic size Qmainwindow

Konstantin Tokarev annulen at yandex.ru
Wed Mar 19 17:52:39 CET 2014

18.03.2014, 17:48, "Hiliwi Leake" <hiliwi.leake at gmail.com>:
> Hello guys,
> could anyone help me how to set dynamic size of Qmainwindow to fit with the current screen? also I want all the widgets inside the Qmainwindow to vary their size dynamically based on the Qmainwindow size.
> Thanks in advance.
> kind regards,

You need to provide implementation of resizeEvent() in your main window class.


More information about the Qt-creator mailing list