summaryrefslogtreecommitdiffstats
path: root/qt-ui/locationInformation.ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/locationInformation.ui')
-rw-r--r--qt-ui/locationInformation.ui59
1 files changed, 36 insertions, 23 deletions
diff --git a/qt-ui/locationInformation.ui b/qt-ui/locationInformation.ui
index 8b7992439..30034a016 100644
--- a/qt-ui/locationInformation.ui
+++ b/qt-ui/locationInformation.ui
@@ -34,15 +34,18 @@
</property>
</widget>
</item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="diveSiteName"/>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Coordinates</string>
+ <item row="5" column="0">
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
- </widget>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="diveSiteCoordinates"/>
@@ -54,9 +57,6 @@
</property>
</widget>
</item>
- <item row="3" column="1">
- <widget class="QLineEdit" name="diveSiteDescription"/>
- </item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
@@ -64,20 +64,31 @@
</property>
</widget>
</item>
- <item row="5" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Coordinates</string>
</property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QToolButton" name="btnPickCoordinates">
+ <property name="text">
+ <string>Pick on the globe</string>
</property>
- </spacer>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/geocode</normaloff>:/geocode</iconset>
+ </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">
+ <item row="4" column="1" rowspan="2" colspan="2">
<widget class="QPlainTextEdit" name="diveSiteNotes"/>
</item>
</layout>
@@ -90,6 +101,8 @@
<container>1</container>
</customwidget>
</customwidgets>
- <resources/>
+ <resources>
+ <include location="../subsurface.qrc"/>
+ </resources>
<connections/>
</ui>