aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-02 16:21:08 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-09-02 16:21:08 -0300
commit5666f6573e70c3b472703bddeba240c202fe00de (patch)
tree9daf3d645e24099753fe3f258e96f2b9af41ae4d /qt-ui/diveplanner.ui
parent430e7ab132d1c9d9d370a89e85385b11fb2e045c (diff)
downloadsubsurface-5666f6573e70c3b472703bddeba240c202fe00de.tar.gz
Code Cleanup: Merged the three TableViews shared code
Merged the shared code for the three table views into one code, this way less code is needed if we need to construct another tableview in the future. I still need to clean some of the models too. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.ui')
-rw-r--r--qt-ui/diveplanner.ui39
1 files changed, 27 insertions, 12 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
index d2d52172b..1bcd912a4 100644
--- a/qt-ui/diveplanner.ui
+++ b/qt-ui/diveplanner.ui
@@ -37,6 +37,9 @@
<item row="3" column="1">
<widget class="QLineEdit" name="decoStopSAC"/>
</item>
+ <item row="5" column="0">
+ <widget class="QLineEdit" name="lowGF"/>
+ </item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
@@ -44,9 +47,6 @@
</property>
</widget>
</item>
- <item row="5" column="0">
- <widget class="QLineEdit" name="lowGF"/>
- </item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
@@ -54,6 +54,9 @@
</property>
</widget>
</item>
+ <item row="3" column="0">
+ <widget class="QLineEdit" name="bottomSAC"/>
+ </item>
<item row="4" column="1">
<widget class="QLabel" name="label_6">
<property name="text">
@@ -61,6 +64,9 @@
</property>
</widget>
</item>
+ <item row="5" column="1">
+ <widget class="QLineEdit" name="highGF"/>
+ </item>
<item row="2" column="1">
<widget class="QLabel" name="label_4">
<property name="text">
@@ -68,12 +74,6 @@
</property>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLineEdit" name="bottomSAC"/>
- </item>
- <item row="5" column="1">
- <widget class="QLineEdit" name="highGF"/>
- </item>
<item row="6" column="0">
<widget class="QCheckBox" name="lastStop">
<property name="text">
@@ -81,9 +81,6 @@
</property>
</widget>
</item>
- <item row="7" column="0" colspan="2">
- <widget class="QTableView" name="tablePoints"/>
- </item>
<item row="8" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
@@ -91,8 +88,26 @@
</property>
</widget>
</item>
+ <item row="7" column="0" colspan="2">
+ <widget class="TableView" name="tableWidget" native="true">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
+ <customwidgets>
+ <customwidget>
+ <class>TableView</class>
+ <extends>QWidget</extends>
+ <header>tableview.h</header>
+ <container>1</container>
+ </customwidget>
+ </customwidgets>
<resources/>
<connections/>
</ui>