The QGroupBox widget provides a group box frame with a title. More...
#include <qgrpbox.h>
Inherits QFrame.
Inherited by QButtonGroup.
The intended use of a group box is to show that a number of widgets (i.e. child widgets) are logically related.
The button group widget, QButtonGroup, is an "intelligent" group box that is very useful for organizing button widgets in a group.
Constructs a group box widget with no title.
The parent and name arguments are passed to the QWidget constructor.
Constructs a group box with a title.
The parent and name arguments are passed to the QWidget constructor.
Returns the alignment of the group box title.
The default alignment is AlignHCenter.
See also: setAlignment().
[virtual protected]
Handles paint events for the group box.
Reimplemented from QWidget.
Sets the alignment of the group box title.
The title is always placed on the upper frame line, however, the horizontal alignment can be specified by the alignment parameter.
The alignment is the bitwise OR of the following flags:
AlignLeft
aligns the title text to the left.
AlignRight
aligns the title text to the right.
AlignHCenter
aligns the title text centered.
See also: alignment().
Sets the group box title text to title.
Examples: widgets/widgets.cpp
Returns the group box title text.
This file is part of the Qt toolkit, copyright © 1995-96 Troll Tech, all rights reserved.
It was generated from the following files: