connect_combo_data

class glue.external.echo.qt.connect_combo_data(instance, prop, widget)

Bases: glue.external.echo.qt.BaseConnection

Connect 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.

See also

connect_combo_text

connect a callback property with a QComboBox widget based on the text.

Methods Summary

connect(self)

disconnect(self)

update_prop(self, idx)

update_widget(self, value)

Methods Documentation

connect(self)
disconnect(self)
update_prop(self, idx)
update_widget(self, value)