silx
silx copied to clipboard
Added extra functionality to FloatEdit
Closes #3888
This PR mostly provides extra validators that i have designed during the years.
It allows configurable behaviours like:
- Empty input as
None - Fast edition of the dot
.from the input - Included/excluded float min/max boundaries
- Basic support for quantities
- Plus a bit more accurate value will is it not edited by the user
This PR also add some tests to the FloatEdit.
Changelog:
- Added support to custom validators to
FloatEditwidget - Added extra validators to share common behaviours
Tested manually with pyside6-6.5.1.1, sounds like it's ok