summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-06-01 16:58:23 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-01 13:24:37 -0700
commitb8092c07a4b4d7715d825641e458be5fa56972d6 (patch)
tree81d7604b2f53fe234d83a09a3645616a681e9ba1 /qt-ui/maintab.ui
parent82d3f088a40545624f0d1ac61ca990e05325081c (diff)
downloadsubsurface-b8092c07a4b4d7715d825641e458be5fa56972d6.tar.gz
Create a new DiveSite when user clicks on add
Also reorganized a bit of the code, and renamed a few misleading methods. [Dirk Hohndel: remove some C++11 code] Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui24
1 files changed, 14 insertions, 10 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index 07c4d9fe0..d681fbdbb 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -55,8 +55,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>447</width>
- <height>766</height>
+ <width>445</width>
+ <height>760</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
@@ -196,9 +196,13 @@
</widget>
</item>
<item>
- <widget class="QPushButton" name="manageDiveSite">
+ <widget class="QToolButton" name="addDiveSite">
<property name="text">
- <string>manage</string>
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/plus</normaloff>:/plus</iconset>
</property>
</widget>
</item>
@@ -535,8 +539,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>447</width>
- <height>756</height>
+ <width>445</width>
+ <height>754</height>
</rect>
</property>
<layout class="QGridLayout" name="equipmentTabScrollAreaLayout">
@@ -630,8 +634,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>447</width>
- <height>756</height>
+ <width>445</width>
+ <height>754</height>
</rect>
</property>
<layout class="QGridLayout" name="diveInfoScrollAreaLayout">
@@ -971,8 +975,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>447</width>
- <height>756</height>
+ <width>445</width>
+ <height>754</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">