aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/csvimportdialog.ui
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2013-12-29 07:52:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-29 04:13:18 -0800
commit03666fb7656ae19fe11d22094846a1279dc4b9f8 (patch)
tree9dd964cfd67b34542812564a4d2800e15512dfac /qt-ui/csvimportdialog.ui
parent7c8a39015a969d853fa5ff4b73f7e1f30aa39a17 (diff)
downloadsubsurface-03666fb7656ae19fe11d22094846a1279dc4b9f8.tar.gz
Use field numbers in CSV import instead of indexes
For the common user, a field number is more intuitive than field index. So let's use that in numbering CSV import fields. Fixes #388 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/csvimportdialog.ui')
-rw-r--r--qt-ui/csvimportdialog.ui20
1 files changed, 16 insertions, 4 deletions
diff --git a/qt-ui/csvimportdialog.ui b/qt-ui/csvimportdialog.ui
index 6abbb4beb..9c89704f3 100644
--- a/qt-ui/csvimportdialog.ui
+++ b/qt-ui/csvimportdialog.ui
@@ -68,10 +68,10 @@
<item row="0" column="1">
<widget class="QSpinBox" name="CSVTime">
<property name="minimum">
- <number>0</number>
+ <number>1</number>
</property>
<property name="value">
- <number>0</number>
+ <number>1</number>
</property>
</widget>
</item>
@@ -85,10 +85,10 @@
<item row="1" column="1">
<widget class="QSpinBox" name="CSVDepth">
<property name="minimum">
- <number>0</number>
+ <number>1</number>
</property>
<property name="value">
- <number>1</number>
+ <number>2</number>
</property>
</widget>
</item>
@@ -101,6 +101,9 @@
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="CSVTemperature">
+ <property name="minimum">
+ <number>1</number>
+ </property>
<property name="enabled">
<bool>false</bool>
</property>
@@ -115,6 +118,9 @@
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="CSVpo2">
+ <property name="minimum">
+ <number>1</number>
+ </property>
<property name="enabled">
<bool>false</bool>
</property>
@@ -132,6 +138,9 @@
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="CSVcns">
+ <property name="minimum">
+ <number>1</number>
+ </property>
<property name="enabled">
<bool>false</bool>
</property>
@@ -149,6 +158,9 @@
</item>
<item row="5" column="1">
<widget class="QSpinBox" name="CSVstopdepth">
+ <property name="minimum">
+ <number>1</number>
+ </property>
<property name="enabled">
<bool>false</bool>
</property>