diff options
author | Robert C. Helling <helling@atdotde.de> | 2014-06-25 14:00:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-25 21:07:10 +0800 |
commit | 65c5d6815cf7c78231abd76440bb5bab54d9d51c (patch) | |
tree | 8f6820921ec40aeeeb5b475d74b7cfb567a782c7 /qt-ui/plannerSettings.ui | |
parent | c7231adde1cddc64dfa47450393e97afa6c39d0f (diff) | |
download | subsurface-65c5d6815cf7c78231abd76440bb5bab54d9d51c.tar.gz |
Make pO2 settings functional in planner
Spin boxes for pO2 are now hooked up to preference values. Adding new
cylinders (or changing their fo2) computes the MOD accordin to the current
value of decopo2. Note that chaning the limits for deco pO2 does _not_
automatically update the switch depth of all cylinders as those might have
been manually entered.
Furthermore, MOD has now to option of rounding to multiples of a given
depth. That is used for the automatic switch depth which are now always
multiples of 3m (so that EAN50 is switched to at 21m rather than 22m).
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/plannerSettings.ui')
-rw-r--r-- | qt-ui/plannerSettings.ui | 46 |
1 files changed, 28 insertions, 18 deletions
diff --git a/qt-ui/plannerSettings.ui b/qt-ui/plannerSettings.ui index 519f3ea7c..57814eabb 100644 --- a/qt-ui/plannerSettings.ui +++ b/qt-ui/plannerSettings.ui @@ -72,16 +72,6 @@ </property> </widget> </item> - <item row="1" column="1"> - <widget class="QPlainTextEdit" name="bottompo2"> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>20</height> - </size> - </property> - </widget> - </item> <item row="2" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> @@ -90,12 +80,34 @@ </widget> </item> <item row="2" column="1"> - <widget class="QPlainTextEdit" name="decopo2"> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>20</height> - </size> + <widget class="QDoubleSpinBox" name="decopo2"> + <property name="suffix"> + <string>bar</string> + </property> + <property name="maximum"> + <double>2.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + <property name="value"> + <double>1.600000000000000</double> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QDoubleSpinBox" name="bottompo2"> + <property name="suffix"> + <string>bar</string> + </property> + <property name="maximum"> + <double>2.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + <property name="value"> + <double>1.400000000000000</double> </property> </widget> </item> @@ -299,8 +311,6 @@ <tabstop>display_transitions</tabstop> <tabstop>lastStop</tabstop> <tabstop>backgasBreaks</tabstop> - <tabstop>bottompo2</tabstop> - <tabstop>decopo2</tabstop> <tabstop>descRate</tabstop> </tabstops> <resources/> |