TextProperty#

class glue_qt.utils.widget_properties.TextProperty(att, docstring='')[source]#

Bases: WidgetProperty

Wrapper around the text() and setText() methods for QLabel etc

Methods Summary

getter(widget)

Return the state of a widget.

setter(widget, value)

Set the state of a widget to a certain value

Methods Documentation

getter(widget)[source]#

Return the state of a widget. Depends on type of widget, and must be overridden

setter(widget, value)[source]#

Set the state of a widget to a certain value