One of the greatest thing in Qt has always been a sophisticated layout management. There are actually two different layout systems in Qt: a layout management for QWidget based widgets and a layout management for QGraphicsWidget based widgets. This article will focus on the latter one, but the basic idea in both layout management systems is similar – the application developer doesn’t need to hardcode widget’s size and position in relative its parent, all this is done automatically by the Qt. Qt also tries to fill in all the available space so for example when resizing the application window, the layout always fills the free space (I know this can be prevented also). At this point if you are not familiar of Qt’s layout management it is worth to spend some time with reading documentation from here.