connect_text¶
- class echo.qt.connect_text(instance, prop, widget)[source]¶
Bases:
BaseConnectionConnect a string callback property with a Qt widget containing text.
- 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
setTextandtextmethods as well optionally theeditingFinishedsignal.
Methods
connect
disconnect
update_prop
update_widget
Methods Summary
connect()update_widget(value)Methods Documentation