Filter: support imperial units

1) Choose the correct conversion function for comparison.
2) Add a unit suffix to the fields.
3) Update the suffixes on change of preferences.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-01-20 21:01:00 +01:00 committed by Dirk Hohndel
parent e8b0d165a7
commit b28e0bf0b9
3 changed files with 23 additions and 4 deletions

View file

@ -27,6 +27,8 @@ protected:
public slots:
void updatePlanned(int value);
void updateLogged(int value);
private slots:
void temperatureChanged();
private:
Ui::FilterWidget2 ui;