Widget to show other dive sites at the same coordinates

Add a new widget on the dive site management view to
display all other dive sites at the same coordinates.

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-08-31 20:17:06 -03:00 committed by Dirk Hohndel
parent 7115f6e237
commit 5db6d41598

View file

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>556</width>
<height>584</height>
<height>707</height>
</rect>
</property>
<property name="windowTitle">
@ -30,19 +30,6 @@
</property>
</widget>
</item>
<item row="5" column="0">
<spacer name="verticalSpacer">
<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 row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
@ -67,6 +54,15 @@
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QLineEdit" name="diveSiteDescription"/>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLineEdit" name="diveSiteName"/>
</item>
<item row="4" column="1" rowspan="2" colspan="2">
<widget class="QPlainTextEdit" name="diveSiteNotes"/>
</item>
<item row="2" column="2">
<widget class="QToolButton" name="geoCodeButton">
<property name="text">
@ -78,15 +74,6 @@
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLineEdit" name="diveSiteName"/>
</item>
<item row="3" column="1" colspan="2">
<widget class="QLineEdit" name="diveSiteDescription"/>
</item>
<item row="4" column="1" rowspan="2" colspan="2">
<widget class="QPlainTextEdit" name="diveSiteNotes"/>
</item>
<item row="0" column="0" colspan="3">
<widget class="KMessageWidget" name="diveSiteMessage" native="true">
<property name="sizePolicy">
@ -97,6 +84,38 @@
</property>
</widget>
</item>
<item row="6" column="0" colspan="3">
<widget class="QGroupBox" name="diveSiteGroupBox">
<property name="title">
<string>Dive sites on same coordinates</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QListView" name="diveSiteListView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="5" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>