以下成员源于类 QCheckBox are part of the Qt compatibility layer. We advise against using them in new code.
| enum | ToggleState { Off, NoChange, On } |
| QCheckBox (QWidget * parent , const char * name ) | |
| QCheckBox (const QString & text , QWidget * parent , const char * name ) | |
| void | setNoChange () |
| void | setState (ToggleState state ) |
| ToggleState | state () const |
| 常量 | 值 | 描述 |
|---|---|---|
QCheckBox::Off
|
Qt::Unchecked
|
使用 Qt::Unchecked 代替。 |
QCheckBox::NoChange
|
Qt::PartiallyChecked
|
使用 Qt::PartiallyChecked 代替。 |
QCheckBox::On
|
Qt::Checked
|
使用 Qt::Checked 代替。 |
Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。
Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。
使用 setCheckState () 代替。
使用 setCheckState () 代替。
另请参阅 state ().
使用 checkState () 代替。
另请参阅 setState ().