diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-12-05 00:48:37 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-04 15:49:55 -0800 |
commit | a0df62d913a8bfc54aae0c7b69a3197bdfae3dd5 (patch) | |
tree | a82134e53650111508fb34f9cc2db019d574d857 /qt-ui/diveplanner.ui | |
parent | b5d3476b0ba881699c604a3d97c5801b8bb99a08 (diff) | |
download | subsurface-a0df62d913a8bfc54aae0c7b69a3197bdfae3dd5.tar.gz |
Add some limits to the GF's
Sets the limit for GF's in the preferences panel to 1<=x<=150 and color
it read if gf > 100. Remove the % in the diveplanner view that was
rejected for the preferences view.
The 150 maximum is needed because QSpinBox defaults to maximum 99.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.ui')
-rw-r--r-- | qt-ui/diveplanner.ui | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui index 55208abb3..558be069d 100644 --- a/qt-ui/diveplanner.ui +++ b/qt-ui/diveplanner.ui @@ -101,25 +101,22 @@ </item> <item row="5" column="0"> <widget class="QSpinBox" name="gflow"> - <property name="suffix"> - <string>%</string> - </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> - <number>100</number> + <number>150</number> </property> </widget> </item> <item row="5" column="1"> <widget class="QSpinBox" name="gfhigh"> - <property name="suffix"> - <string>%</string> - </property> <property name="minimum"> <number>1</number> </property> + <property name="maximum"> + <number>150</number> + </property> </widget> </item> <item row="6" column="0"> |