connect_combo_data¶
- class echo.qt.connect_combo_data(instance, prop, widget)[source]¶
Bases:
BaseConnectionConnect a callback property with a QComboBox widget based on the userData.
- Parameters:
- instanceobject
The class instance that the callback property is attached to
- propstr
The name of the callback property
- widgetQComboBox
The combo box to connect.
Methods
connect
disconnect
update_prop
update_widget
See also
connect_combo_textconnect a callback property with a QComboBox widget based on the text.
Methods Summary
connect()update_prop(idx)update_widget(value)Methods Documentation