connect_checkable_button¶
Bases:
glue.external.echo.qt.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 Summary
connect(self)disconnect(self)update_prop(self, value)update_widget(self, value)Methods Documentation