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>
This commit is contained in:
Tomaz Canabrava 2015-06-01 16:58:23 -03:00 committed by Dirk Hohndel
parent 82d3f088a4
commit b8092c07a4
7 changed files with 44 additions and 23 deletions

View file

@ -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">