Toggle — QCheckBox styled as an iOS-style switch.
Bases: PySide6.QtWidgets.QCheckBox
PySide6.QtWidgets.QCheckBox
A modern toggle switch. Emits stateChanged on user interaction.
Return the default checkbox hint widened to fit the switch track.
Paint the switch track, knob, and (optional) trailing label.