Berthold Stoeger b02847de53 core: add get_*_unit functions with explicit unit system
The get_*_unit() functions return the unit-name as set in
the preferences. Add versions with a "metric" parameter.

This will be used by the statistics code, which may in
the future allow for binning with alternative units.

All the unit-formatting functions should probably be moved
away from qthelper to their own source file.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-01-01 21:10:10 +01:00
..
2020-12-17 13:03:56 -08:00
2019-08-08 08:56:44 -07:00
2019-08-08 16:26:31 -07:00
2020-11-24 10:54:10 +01:00
2020-12-29 08:34:09 -08:00
2020-12-17 08:10:56 -08:00
2017-04-29 13:32:55 -07:00
2020-10-24 09:51:37 -07:00
2020-10-24 09:51:37 -07:00
2020-09-29 16:13:03 -07:00
2018-10-21 19:55:09 +03:00
2020-10-24 09:51:37 -07:00
2020-10-24 09:51:37 -07:00
2020-10-26 19:27:03 -07:00
2020-04-18 13:41:29 +02:00
2019-12-13 07:04:00 -05:00
2017-04-29 13:32:55 -07:00
2020-12-29 08:34:09 -08:00
2020-03-10 17:42:54 -07:00
2020-03-10 17:42:54 -07:00
2020-05-03 15:02:21 -07:00