summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
authorGravatar Amit Chaudhuri <amit.k.chaudhuri@gmail.com>2013-05-03 08:19:00 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-03 11:47:06 -0700
commit8577410fcd94f3c3109b8b3cf4932a9e0d11fc80 (patch)
treeb35d03a3b01956cf7ac43a10b33c286cab12a13d /qt-ui/maintab.ui
parent8677721e85a344e29782cfc2ab838edb8da9215b (diff)
downloadsubsurface-8577410fcd94f3c3109b8b3cf4932a9e0d11fc80.tar.gz
Reformat dive info page in tab widget
Clean up the formatting. Distinguish between headings and value labels. Tidy up text appearance (remove trailing ':') Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui200
1 files changed, 119 insertions, 81 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index a99b0aed7..82019e6c3 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -7,14 +7,14 @@
<x>0</x>
<y>0</y>
<width>400</width>
- <height>320</height>
+ <height>325</height>
</rect>
</property>
<property name="windowTitle">
<string>TabWidget</string>
</property>
<property name="currentIndex">
- <number>0</number>
+ <number>2</number>
</property>
<widget class="QWidget" name="notesTab">
<attribute name="title">
@@ -199,9 +199,31 @@
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
- <layout class="QGridLayout" name="gridLayout">
+ <spacer name="verticalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QGridLayout" name="diveInfoUpperGridLayout">
+ <property name="horizontalSpacing">
+ <number>10</number>
+ </property>
+ <property name="verticalSpacing">
+ <number>15</number>
+ </property>
+ <property name="margin">
+ <number>10</number>
+ </property>
<item row="0" column="0">
- <widget class="QLabel" name="label_10">
+ <widget class="QLabel" name="sacLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -209,12 +231,12 @@
</font>
</property>
<property name="text">
- <string>SAC:</string>
+ <string>SAC</string>
</property>
</widget>
</item>
<item row="0" column="1">
- <widget class="QLabel" name="label_11">
+ <widget class="QLabel" name="outLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -222,12 +244,12 @@
</font>
</property>
<property name="text">
- <string>OTU:</string>
+ <string>OTU</string>
</property>
</widget>
</item>
<item row="0" column="2">
- <widget class="QLabel" name="label_12">
+ <widget class="QLabel" name="oxygenHeliumLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -235,12 +257,12 @@
</font>
</property>
<property name="text">
- <string>0²/He:</string>
+ <string>0²/He</string>
</property>
</widget>
</item>
<item row="0" column="3">
- <widget class="QLabel" name="label_13">
+ <widget class="QLabel" name="gasUsedLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -248,33 +270,33 @@
</font>
</property>
<property name="text">
- <string>Gas Used:</string>
+ <string>Gas Used</string>
</property>
</widget>
</item>
<item row="1" column="3">
- <widget class="QLabel" name="gasused">
+ <widget class="QLabel" name="gasUsedText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="1" column="0">
- <widget class="QLabel" name="sac">
+ <widget class="QLabel" name="sacText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="1" column="1">
- <widget class="QLabel" name="otu">
+ <widget class="QLabel" name="otuText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="1" column="2">
- <widget class="QLabel" name="oxygenhelium">
+ <widget class="QLabel" name="oxygenHeliumText">
<property name="text">
<string>TextLabel</string>
</property>
@@ -283,38 +305,28 @@
</layout>
</item>
<item>
- <layout class="QGridLayout" name="gridLayout_2">
- <property name="bottomMargin">
+ <spacer name="verticalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QGridLayout" name="diveInfoLowerGridLayout">
+ <property name="margin">
<number>10</number>
</property>
- <item row="0" column="1">
- <widget class="QLabel" name="label_18">
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="text">
- <string>Dive Time:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QLabel" name="label_17">
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="text">
- <string>Surf Interv:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QLabel" name="label_5">
+ <property name="spacing">
+ <number>15</number>
+ </property>
+ <item row="0" column="0">
+ <widget class="QLabel" name="dateLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -322,26 +334,26 @@
</font>
</property>
<property name="text">
- <string>Avg Depth:</string>
+ <string>Date</string>
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="date">
+ <item row="3" column="0">
+ <widget class="QLabel" name="maximumDepthText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="3" column="2">
- <widget class="QLabel" name="visibility">
+ <widget class="QLabel" name="visibilityText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
- <item row="4" column="2">
- <widget class="QLabel" name="label_9">
+ <item row="2" column="2">
+ <widget class="QLabel" name="visibilityLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -349,12 +361,12 @@
</font>
</property>
<property name="text">
- <string>Air Press:</string>
+ <string>Visibility</string>
</property>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_4">
+ <item row="4" column="0">
+ <widget class="QLabel" name="waterTempertureLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -362,26 +374,33 @@
</font>
</property>
<property name="text">
- <string>Max Depth:</string>
+ <string>Water Temp.</string>
</property>
</widget>
</item>
- <item row="1" column="2">
- <widget class="QLabel" name="surfinterval">
+ <item row="5" column="1">
+ <widget class="QLabel" name="airTemperatureText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="1" column="1">
- <widget class="QLabel" name="divetime">
+ <widget class="QLabel" name="diveTimeText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
- <item row="4" column="1">
- <widget class="QLabel" name="label_8">
+ <item row="1" column="2">
+ <widget class="QLabel" name="surfaceIntervalText">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="2">
+ <widget class="QLabel" name="airPressureLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -389,19 +408,25 @@
</font>
</property>
<property name="text">
- <string>Air Temp:</string>
+ <string>Air Pressure</string>
</property>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLabel" name="maxdepth">
+ <item row="2" column="1">
+ <widget class="QLabel" name="averageDepthLabel">
+ <property name="font">
+ <font>
+ <weight>75</weight>
+ <bold>true</bold>
+ </font>
+ </property>
<property name="text">
- <string>TextLabel</string>
+ <string>Ave. Depth</string>
</property>
</widget>
</item>
- <item row="2" column="2">
- <widget class="QLabel" name="label_6">
+ <item row="2" column="0">
+ <widget class="QLabel" name="maximumDepthLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -409,12 +434,12 @@
</font>
</property>
<property name="text">
- <string>Visibility:</string>
+ <string>Max. Depth</string>
</property>
</widget>
</item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_7">
+ <item row="4" column="1">
+ <widget class="QLabel" name="airTempertatureLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -422,40 +447,53 @@
</font>
</property>
<property name="text">
- <string>Water Temp:</string>
+ <string>Air Temp.</string>
</property>
</widget>
</item>
<item row="3" column="1">
- <widget class="QLabel" name="averagedepth">
+ <widget class="QLabel" name="averageDepthText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
- <item row="5" column="0">
- <widget class="QLabel" name="watertemperature">
+ <item row="5" column="2">
+ <widget class="QLabel" name="airPressureText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
- <item row="5" column="1">
- <widget class="QLabel" name="airtemperature">
+ <item row="5" column="0">
+ <widget class="QLabel" name="waterTemperatureText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
- <item row="5" column="2">
- <widget class="QLabel" name="airpress">
+ <item row="1" column="0">
+ <widget class="QLabel" name="dateText">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
- <item row="0" column="0">
- <widget class="QLabel" name="label">
+ <item row="0" column="2">
+ <widget class="QLabel" name="surfaceIntervalLabel">
+ <property name="font">
+ <font>
+ <weight>75</weight>
+ <bold>true</bold>
+ </font>
+ </property>
+ <property name="text">
+ <string>Interval</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="diveTimeLabel">
<property name="font">
<font>
<weight>75</weight>
@@ -463,7 +501,7 @@
</font>
</property>
<property name="text">
- <string>Date:</string>
+ <string>Dive Time</string>
</property>
</widget>
</item>
@@ -477,7 +515,7 @@
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
- <height>112</height>
+ <height>40</height>
</size>
</property>
</spacer>