Skip to content

ENH: Improving qtDoubleUnitsLineEdit

  1. Added the in focus/out of focus precision control that the non-units line edit widget has
  2. Fixed issue where the item definition's units were not being appended after deleting bunch of characters (including the units)
  3. Radically reduce the number of updates being made to the underlying Double Item - this was done by creating a new signal that the qtInputsItem is listening to
  4. Widget no longer relies on another widget (like qtInputsItem) to properly handle the editingFinished signal internally

Other Changes

  1. DoubleItem will now append its Definition's units in valueFromString method if the input string does not have units
  2. Added a space between the value and unit when displaying the tool-tip for a qtDoubleUnitsLineEdit

Merge request reports