Improve set formatter dialog for taurus forms
The TaurusForm
allows the user to change the formatter (per-item and to all items), but the dialog is very crude (just a text input), which is not user friendly.
It would be nice to improve this dialog with, at least the following:
- add a user-friendly tooltip explaining usage
- make it an editable combobox with pre-set options such as
{:2.3e}
,{:.5f}
,TangoFormatter
, ,...
Note: the formatter classes to be offered should be gathered from a list of "registered formatters" (i.e. an entry point (e.g. taurus.qt.formatters
) should be declared and plugins should register their formatters into it.