45 #include <QtGui/qabstractbutton.h> 70 void setTristate(
bool y =
true);
71 bool isTristate()
const;
77 void stateChanged(
int);
95 inline QT3_SUPPORT ToggleState state()
const 96 {
return static_cast<QCheckBox::ToggleState
>(
static_cast<int>(checkState())); }
97 inline QT3_SUPPORT
void setState(ToggleState state)
98 { setCheckState(static_cast<Qt::CheckState>(static_cast<int>(state))); }
99 inline QT3_SUPPORT
void setNoChange()
114 #endif // QCHECKBOX_H
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QMouseEvent class contains parameters that describe a mouse event.
The QPoint class defines a point in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
bool tristate
whether the checkbox is a tri-state checkbox
The QPaintEvent class contains event parameters for paint events.
The QCheckBox widget provides a checkbox with a text label.
The QEvent class is the base class of all event classes.