FloatLineProperty

class glue.utils.qt.widget_properties.FloatLineProperty(att, docstring='')[source]

Bases: glue.utils.qt.widget_properties.WidgetProperty

Wrapper around the text state for QLineEdit widgets.

Assumes that the text is a floating-point number

Methods Summary

getter(self, widget)

Return the state of a widget.

setter(self, widget, value)

Set the state of a widget to a certain value

Methods Documentation

getter(self, widget)[source]

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

setter(self, widget, value)[source]

Set the state of a widget to a certain value