connect_checkable_button¶
- class echo.qt.connect_checkable_button(instance, prop, widget)[source]¶
Bases:
BaseConnectionConnect a boolean callback property with a Qt button widget.
- Parameters:
- instanceobject
The class instance that the callback property is attached to
- propstr
The name of the callback property
- widgetQtWidget
The Qt widget to connect. This should implement the
setCheckedmethod and thetoggledsignal.
Methods
connect
disconnect
update_prop
update_widget
Methods Summary
connect()update_prop(value)update_widget(value)Methods Documentation