The Group Box example shows how to use the different kinds of group boxes in Qt.