45 #include <QtGui/qframe.h> 53 #ifndef QT_NO_GROUPBOX 72 void setTitle(
const QString &title);
74 Qt::Alignment alignment()
const;
75 void setAlignment(
int alignment);
80 void setFlat(
bool flat);
81 bool isCheckable()
const;
82 void setCheckable(
bool checkable);
83 bool isChecked()
const;
86 void setChecked(
bool checked);
89 void clicked(
bool checked =
false);
116 #endif // QT_NO_GROUPBOX 122 #endif // QGROUPBOX_H #define QT_END_NAMESPACE
This macro expands to.
bool flat
whether the group box is painted flat or has a frame
bool checked
whether the group box is checked
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QString class provides a Unicode character string.
Qt::Alignment alignment
the alignment of the group box title.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void childEvent(QChildEvent *)
This event handler can be reimplemented in a subclass to receive child events.
The QResizeEvent class contains event parameters for resize events.
The QGroupBox widget provides a group box frame with a title.
The QMouseEvent class contains parameters that describe a mouse event.
The QChildEvent class contains event parameters for child object events.
bool checkable
whether the group box has a checkbox in its title
The QStyleOptionGroupBox class describes the parameters for drawing a group box.
QString title
the group box title text
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QFocusEvent class contains event parameters for widget focus events.