Compatibility Members for QCheckBox
The following members of class QCheckBoxare part of the Qt compatibility layer. We advise against using them in new code.
Public Types
enum | ToggleState { Off, NoChange, On } |
Public Functions
QCheckBox(QWidget * parent, const char * name) | |
QCheckBox(const QString & text, QWidget * parent, const char * name) | |
void | setNoChange() |
void | setState(ToggleState state) |
ToggleState | state() const |
- 9 public functions inherited from QAbstractButton
- 57 public functions inherited from QWidget
- 8 public functions inherited from QObject
- 8 public functions inherited from QPaintDevice
Member Type Documentation
enum QCheckBox::ToggleState
Constant | Value | Description |
---|---|---|
QCheckBox::Off | Qt::Unchecked | Use Qt::Unchecked instead. |
QCheckBox::NoChange | Qt::PartiallyChecked | Use Qt::PartiallyChecked instead. |
QCheckBox::On | Qt::Checked | Use Qt::Checked instead. |
Member Function Documentation
QCheckBox::QCheckBox(QWidget * parent, const char * name)
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
QCheckBox::QCheckBox(const QString & text, QWidget * parent, const char * name)
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
void QCheckBox::setNoChange()
Use setCheckState() instead.
void QCheckBox::setState(ToggleState state)
Use setCheckState() instead.
See also state().
ToggleState QCheckBox::state() const
Use checkState() instead.
See also setState().
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.