summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.ui
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-06-10 18:25:25 +0300
committerGravatar Thiago Macieira <thiago@macieira.org>2014-08-13 10:48:11 -0700
commit20eb62a98a70c1773ff99ece05f1c69e6ca8ce15 (patch)
tree0d7e18fd5405b0b259c9ae35b8315887dd4658b6 /qt-ui/configuredivecomputerdialog.ui
parent4fc16b16749a73b8c06d41cb7cb22b78c77ab29e (diff)
downloadsubsurface-20eb62a98a70c1773ff99ece05f1c69e6ca8ce15.tar.gz
Polish up on classes
This patch polishes up on all classes added for dive computer configuration to give a clean workflow. The classes can now write and read data from the OSTC 3. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.ui')
-rw-r--r--qt-ui/configuredivecomputerdialog.ui74
1 files changed, 50 insertions, 24 deletions
diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index d7c584e0c..4f1c7a8af 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>343</width>
- <height>365</height>
+ <height>390</height>
</rect>
</property>
<property name="windowTitle">
@@ -93,12 +93,8 @@
</item>
<item>
<layout class="QGridLayout" name="gridLayout_2">
- <item row="3" column="0">
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Brightness:</string>
- </property>
- </widget>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="customTextLlineEdit"/>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="brightnessComboBox">
@@ -119,10 +115,10 @@
</item>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QLineEdit" name="serialNoLineEdit">
- <property name="readOnly">
- <bool>true</bool>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_8">
+ <property name="text">
+ <string>Firmware Version:</string>
</property>
</widget>
</item>
@@ -150,20 +146,17 @@
</item>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="customTextLlineEdit"/>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_6">
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_4">
<property name="text">
- <string>Language:</string>
+ <string>Brightness:</string>
</property>
</widget>
</item>
- <item row="0" column="0">
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>Serial No.</string>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="serialNoLineEdit">
+ <property name="readOnly">
+ <bool>true</bool>
</property>
</widget>
</item>
@@ -174,10 +167,17 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_8">
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_7">
<property name="text">
- <string>Firmware Version:</string>
+ <string>Serial No.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_6">
+ <property name="text">
+ <string>Language:</string>
</property>
</widget>
</item>
@@ -188,6 +188,32 @@
</property>
</widget>
</item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="label_9">
+ <property name="text">
+ <string>Date Format:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1">
+ <widget class="QComboBox" name="dateFormatComboBox">
+ <item>
+ <property name="text">
+ <string>MMDDYY</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>DDMMYY</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>YYMMDD</string>
+ </property>
+ </item>
+ </widget>
+ </item>
</layout>
</item>
<item>