summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-16 01:13:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-16 11:03:17 +0200
commit51ef56fbcbc8805b4f0901495dc4769b6cdc5fdd (patch)
tree6ab8aeba610cf995e11adb74a220a4bdaf45b233 /qt-ui/configuredivecomputerdialog.ui
parent3d11904f59d8d210c99e784d340370a36e73b0b2 (diff)
downloadsubsurface-51ef56fbcbc8805b4f0901495dc4769b6cdc5fdd.tar.gz
Set limits for Saturation/Desaturation on OSTC3
The default max value for a QSpinBox is 99. The default Saturation factor for the OSTC3 is 110%. This code sets the max, min and default values on those spinboxes. The values comes from me reading the assembler code for the OSTC3. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.ui')
-rw-r--r--qt-ui/configuredivecomputerdialog.ui16
1 files changed, 14 insertions, 2 deletions
diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index b8092b3a7..ea836f45f 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -354,8 +354,14 @@
<property name="suffix">
<string>%</string>
</property>
+ <property name="minimum">
+ <number>100</number>
+ </property>
<property name="maximum">
- <number>255</number>
+ <number>140</number>
+ </property>
+ <property name="value">
+ <number>110</number>
</property>
</widget>
</item>
@@ -374,8 +380,14 @@
<property name="suffix">
<string>%</string>
</property>
+ <property name="minimum">
+ <number>60</number>
+ </property>
<property name="maximum">
- <number>255</number>
+ <number>100</number>
+ </property>
+ <property name="value">
+ <number>90</number>
</property>
</widget>
</item>