summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 08:47:41 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 08:47:41 -0700
commit9946fe97c0d0bf774473238170fce05bcac4fc1e (patch)
treeea8d02743863210667e7b05284e072d9328a7a4e /qt-ui/maintab.ui
parentd8673f986703439ceee6b037c14ff10526e6714a (diff)
parent75956f0f9149d7483ce0771df682d90e2fc9b923 (diff)
downloadsubsurface-9946fe97c0d0bf774473238170fce05bcac4fc1e.tar.gz
Merge branch 'randomFixes' of https://github.com/tcanabrava/subsurface
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui180
1 files changed, 34 insertions, 146 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index 0a31897a4..0784980eb 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -14,7 +14,7 @@
<string>TabWidget</string>
</property>
<property name="currentIndex">
- <number>0</number>
+ <number>1</number>
</property>
<widget class="QWidget" name="notesTab">
<attribute name="title">
@@ -78,22 +78,22 @@
</widget>
</item>
<item row="5" column="0">
- <layout class="QHBoxLayout" name="ratingVisibilityLabels">
- <item>
- <widget class="QLabel" name="label_14">
- <property name="text">
- <string>Rating</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="visibilityLabel">
- <property name="text">
- <string>Visibility</string>
- </property>
- </widget>
- </item>
- </layout>
+ <layout class="QHBoxLayout" name="ratingVisibilityLabels">
+ <item>
+ <widget class="QLabel" name="label_14">
+ <property name="text">
+ <string>Rating</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="visibilityLabel">
+ <property name="text">
+ <string>Visibility</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label_19">
@@ -110,14 +110,14 @@
</widget>
</item>
<item row="6" column="0">
- <layout class="QHBoxLayout" name="ratingVisibilityWidgets">
- <item>
- <widget class="StarWidget" name="rating" native="true"/>
- </item>
- <item>
- <widget class="StarWidget" name="visibility" native="true"/>
- </item>
- </layout>
+ <layout class="QHBoxLayout" name="ratingVisibilityWidgets">
+ <item>
+ <widget class="StarWidget" name="rating" native="true"/>
+ </item>
+ <item>
+ <widget class="StarWidget" name="visibility" native="true"/>
+ </item>
+ </layout>
</item>
<item row="10" column="1">
<widget class="QPushButton" name="editReset">
@@ -151,55 +151,17 @@
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
- <widget class="QGroupBox" name="groupBox">
+ <widget class="QGroupBox" name="cylindersGroup">
<property name="title">
<string>Cylinders</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
+ <layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QTableView" name="cylinders"/>
</item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QPushButton" name="editCylinder">
- <property name="text">
- <string>Edit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="addCylinder">
- <property name="text">
- <string>Add</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="delCylinder">
- <property name="text">
- <string>Delete</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
</layout>
</widget>
- <widget class="QGroupBox" name="groupBox_3">
+ <widget class="QGroupBox" name="weightGroup">
<property name="title">
<string>Weight</string>
</property>
@@ -207,44 +169,6 @@
<item>
<widget class="QTableView" name="weights"/>
</item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QPushButton" name="editWeight">
- <property name="text">
- <string>Edit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="addWeight">
- <property name="text">
- <string>Add</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="delWeight">
- <property name="text">
- <string>Delete</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
</layout>
</widget>
</widget>
@@ -271,24 +195,15 @@
</item>
<item>
<layout class="QGridLayout" name="diveInfoUpperGridLayout">
- <property name="leftMargin">
- <number>10</number>
- </property>
- <property name="topMargin">
- <number>10</number>
- </property>
- <property name="rightMargin">
- <number>10</number>
- </property>
- <property name="bottomMargin">
- <number>10</number>
- </property>
<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="sacLabel">
<property name="font">
@@ -386,16 +301,7 @@
</item>
<item>
<layout class="QGridLayout" name="diveInfoLowerGridLayout">
- <property name="leftMargin">
- <number>10</number>
- </property>
- <property name="topMargin">
- <number>10</number>
- </property>
- <property name="rightMargin">
- <number>10</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>10</number>
</property>
<property name="spacing">
@@ -598,16 +504,7 @@
</item>
<item>
<layout class="QGridLayout" name="statsUpperGridLayout">
- <property name="leftMargin">
- <number>10</number>
- </property>
- <property name="topMargin">
- <number>10</number>
- </property>
- <property name="rightMargin">
- <number>10</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>10</number>
</property>
<property name="spacing">
@@ -750,16 +647,7 @@
</item>
<item>
<layout class="QGridLayout" name="statsLowerGridLayout">
- <property name="leftMargin">
- <number>10</number>
- </property>
- <property name="topMargin">
- <number>10</number>
- </property>
- <property name="rightMargin">
- <number>10</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>10</number>
</property>
<property name="spacing">