PythonQt.QtGui.QCheckBox · declarations 002
Back to PythonQt.QtGui.QCheckBox
setAutoRepeatDelay
setAutoRepeatDelay(arg__1: Any) -> Any
X.setAutoRepeatDelay(arg__1)
setAutoRepeatInterval
setAutoRepeatInterval(arg__1: Any) -> Any
X.setAutoRepeatInterval(arg__1)
setCheckState
setCheckState(state: Any) -> None
X.setCheckState(state)
Supplemental documentation: Qt 5 reference:
void QCheckBox::setCheckState(Qt::CheckState state)
Sets the checkbox's check state to state. If you do not need tristate support, you can also use QAbstractButton::setChecked(), which takes a boolean.
See also checkState() and Qt::CheckState.
Upstream PySide2 reference signatures (binding differences may apply):
setCheckState(self, state: PySide2.QtCore.Qt.CheckState) -> None
Source: https://doc.qt.io/archives/qt-5.15/qcheckbox.html#setCheckState
setCheckable
setCheckable(arg__1: Any) -> Any
X.setCheckable(arg__1)
setChecked
setChecked(a: Any) -> Any
X.setChecked(a)
setDown
setDown(arg__1: Any) -> Any
X.setDown(arg__1)
setIcon
setIcon(icon: Any) -> Any
X.setIcon(icon)
setIconSize
setIconSize(size: Any) -> Any
X.setIconSize(size)
setShortcut
setShortcut(key: Any) -> Any
X.setShortcut(key)
setText
setText(text: Any) -> Any
X.setText(text)
setTristate
setTristate(y: bool) -> None
X.setTristate(y)
Upstream PySide2 reference signatures (binding differences may apply):
setTristate(self, y: bool=...) -> None
Source: https://doc.qt.io/archives/qt-5.15/qcheckbox.html#setTristate
sizeHint
instance-attribute
sizeHint: QSize
Qt 5 reference:
[override virtual] QSize QCheckBox::sizeHint() const
Reimplements an access function for property: QWidget::sizeHint.
Source: https://doc.qt.io/archives/qt-5.15/qcheckbox.html#sizeHint
stateChanged
stateChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QCheckBox.stateChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QCheckBox::stateChanged(int state)
This signal is emitted whenever the checkbox's state changes, i.e., whenever the user checks or unchecks it.
state contains the checkbox's new Qt::CheckState.
Source: https://doc.qt.io/archives/qt-5.15/qcheckbox.html#stateChanged
text
instance-attribute
text: Any
timerEvent
timerEvent(e: Any) -> Any
X.timerEvent(e)
toggle
toggle() -> Any
X.toggle()
toggled
toggled(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QCheckBox.toggled; argument details are not documented.
tristate
instance-attribute
tristate: Any
Qt 5 reference:
tristate : bool
This property holds whether the checkbox is a tri-state checkbox
The default is false, i.e., the checkbox has only two states.
Access functions:
| bool | isTristate() const |
|---|---|
| void | setTristate(bool y \= true) |
Source: https://doc.qt.io/archives/qt-5.15/qcheckbox.html#tristate
windowIconChanged
windowIconChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QCheckBox.windowIconChanged; argument details are not documented.
windowIconTextChanged
windowIconTextChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QCheckBox.windowIconTextChanged; argument details are not documented.
windowTitleChanged
windowTitleChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QCheckBox.windowTitleChanged; argument details are not documented.