==================== DoubleEdit (hwx.gui) ==================== A widget that can display/edit a double. Inherits: - :ref:`LineEdit (hwx.gui)` -------------- Public Methods -------------- +--------------------------+ | get_ (self) | +--------------------------+ | set_ (self, text) | +--------------------------+ | validate_ (self, widget) | +--------------------------+ -------------- Method Details -------------- .. _get: .. method:: get(self) Gets the value converted to base units. .. _set: .. method:: set(self, text) Sets the value converted to user units with the units label. :param text: The text can be a string with the value and units or else only the double value. :type text: str, double .. _validate: .. method:: validate(self, widget) Validates whether the value entered is a double and convert to base units. :param widget: Widget where the value is entered. :type widget: Widget :returns: True if the widget value entered is an int, otherwise False. :rtype: bool