summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-08-31 20:17:06 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 18:37:45 -0700
commit5db6d415986ffacf199f75e10d277934d3ff5a7b (patch)
treee0f056677f25458beff22dde91800c47020f601d
parent7115f6e237ee1dfe8fef5c2d8ca5c1ebcdc8e451 (diff)
downloadsubsurface-5db6d415986ffacf199f75e10d277934d3ff5a7b.tar.gz
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>
-rw-r--r--qt-ui/locationInformation.ui65
1 files changed, 42 insertions, 23 deletions
diff --git a/qt-ui/locationInformation.ui b/qt-ui/locationInformation.ui
index 56e8b0e35..34cc2d56b 100644
--- a/qt-ui/locationInformation.ui
+++ b/qt-ui/locationInformation.ui
@@ -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>