CheckBox
Sub classes
| Name | Children | Inherits |
|---|---|---|
| MappedCheckBox prettyqt.custom_widgets.editors.mappedcheckbox |
Base classes
| Name | Children | Inherits |
|---|---|---|
| AbstractButtonMixin prettyqt.widgets.abstractbutton Abstract button widget base class, providing functionality common to buttons. |
||
| QCheckBox PySide6.QtWidgets QCheckBox(self, text: str, /, parent: PySide6.QtWidgets.QWidget | None \= None, *, tristate: bool | None \= None) -> None |
⋔ Inheritance diagram
graph TD
1721116053["widgets.CheckBox"]
2670709832["widgets.AbstractButtonMixin"]
829357528["widgets.WidgetMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
625385617["gui.PaintDeviceMixin"]
4127570263["QtWidgets.QCheckBox"]
4168111313["QtWidgets.QAbstractButton"]
3620195106["QtWidgets.QWidget"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
673956333["QtGui.QPaintDevice"]
2670709832 --> 1721116053
829357528 --> 2670709832
3227531497 --> 829357528
2751680898 --> 3227531497
625385617 --> 829357528
2751680898 --> 625385617
2751680898 --> 829357528
2751680898 --> 2670709832
4127570263 --> 1721116053
4168111313 --> 4127570263
3620195106 --> 4168111313
3984060476 --> 3620195106
37984305 --> 3984060476
2751680898 --> 37984305
673956333 --> 3620195106
37984305 --> 673956333
🛈 DocStrings
Bases: AbstractButtonMixin, QCheckBox
Checkbox with a text label.
Source code in prettyqt/widgets/checkbox.py
get_checkstate() -> constants.CheckStateStr
set_checkstate(state: constants.CheckStateStr | constants.CheckState)
Set checkstate of the checkbox.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
CheckStateStr | CheckState
|
checkstate to use |
required |