diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-15 17:17:26 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-15 17:19:49 -0700 |
commit | 3860c3eaa1abf43634be3ce8e8985d8cd5079c67 (patch) | |
tree | 963ef035dad5c936e76bd613e382287bcd6940b6 /qt-ui | |
parent | 4c8e9615e4c795262d495a9c3e85da7e0a4b27b4 (diff) | |
download | subsurface-3860c3eaa1abf43634be3ce8e8985d8cd5079c67.tar.gz |
Planner: limit altitude and pressure
Oh boy, this should allow for altitude in 'ft' as well.
I set an arbitrary cutoff at 3000m (and switched things to increments of
10m for the altitude).
Fixes #629
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/diveplanner.ui | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui index ad7d92929..b640d88dc 100644 --- a/qt-ui/diveplanner.ui +++ b/qt-ui/diveplanner.ui @@ -147,8 +147,11 @@ <property name="suffix"> <string>mbar</string> </property> + <property name="minimum"> + <number>689</number> + </property> <property name="maximum"> - <number>2000</number> + <number>1100</number> </property> </widget> </item> @@ -158,10 +161,13 @@ <string>m</string> </property> <property name="minimum"> - <number>-2000</number> + <number>-100</number> </property> <property name="maximum"> - <number>10000</number> + <number>3000</number> + </property> + <property name="singleStep"> + <number>10</number> </property> </widget> </item> |