When a widget is used as a container to group a number of child widgets, it is known as a composite widget. These can be created by constructing a widget with the required visual properties - a PySide.QtGui.QFrame , for example - and adding child widgets to it, usually managed by a layout. The above diagram shows such a composite widget that was created using Qt Designer .
Composite widgets can also be created by subclassing a standard widget, such as PySide.QtGui.QWidget or PySide.QtGui.QFrame , and adding the necessary layout and child widgets in the constructor of the subclass. Many of …