connect_text

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

Bases: glue.external.echo.qt.BaseConnection

Connect 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 setText and text methods as well optionally the editingFinished signal.

Methods Summary

connect(self)

disconnect(self)

update_prop(self)

update_widget(self, value)

Methods Documentation

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