November 2014
Beginner to intermediate
264 pages
5h 32m
English
Qt Widgets includes a robust layout system to control the presentation of widgets on the display. In Qt Creator Designer, you can pick from the following layouts:
QBoxLayout: This lays out its view children horizontally or verticallyQHBoxLayout: This lays out its view children horizontallyQVBoxLayout: This lays out its view children verticallyQFormLayout: This lays out pairs of widgets (such as labels and textboxes) side by side and then tiles those pairs vertically, giving the appearance of a formQGridLayout: This lays out widgets in a gridQStackedLayout: This shows only a single widget at a timeUsing one of these layouts is easy: simply choose the appropriate layout in Qt Creator Designer and drag it to ...
Read now
Unlock full access