From ecf0408aae4024f70a3c9689d1de394a2f47a0ff Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Wed, 6 Aug 2014 10:16:12 +0200 Subject: Make SAC values in planner settings respect unit settings So far, the fields for the two SAC rates did not show a unit and were implictly l/min. Now they respect the settings for volume units. This was harder than I thought for two reasons: 1) Imperial units for SAC are cuft/min but a typical value would be .70. So I made the point the field prefix and what is entered is actually hundreth of cuft per minute. 2) I had to get the rounding right in order not to get effects like 20l/min become .70 cuft/min (19800 ml/min internally) which would then become 19l/min when switching back. While being at it, I gave the gradient factors '%'-signs as units. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- qt-ui/plannerSettings.ui | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'qt-ui/plannerSettings.ui') diff --git a/qt-ui/plannerSettings.ui b/qt-ui/plannerSettings.ui index 0ad0f5b70..a28453c01 100644 --- a/qt-ui/plannerSettings.ui +++ b/qt-ui/plannerSettings.ui @@ -30,8 +30,8 @@ 0 0 - 1089 - 404 + 1078 + 418 @@ -271,6 +271,9 @@ + + % + 1 @@ -288,6 +291,9 @@ + + % + 1 @@ -362,7 +368,11 @@ - + + + ℓ/min + + @@ -372,7 +382,11 @@ - + + + ℓ/min + + -- cgit v1.2.3-70-g09d2