summaryrefslogtreecommitdiffstats
path: root/qt-ui/locationInformation.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-05-17 15:22:49 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-17 13:45:12 -0700
commitc95998e4bd4ae2e9a81489816462903aa99f42c9 (patch)
treef9e2e64bbff2fbe1c317858e25f2fd2d11ebf9ae /qt-ui/locationInformation.ui
parente61e127715ff6937d95bcc4dc448198ccb9727b9 (diff)
downloadsubsurface-c95998e4bd4ae2e9a81489816462903aa99f42c9.tar.gz
Fix the layout of the geo management
The layout was just plain ugly; this fixes that and also adds the possibility to insert new controls that will be userfull for managing the Locations. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationInformation.ui')
-rw-r--r--qt-ui/locationInformation.ui51
1 files changed, 32 insertions, 19 deletions
diff --git a/qt-ui/locationInformation.ui b/qt-ui/locationInformation.ui
index 658395b35..5260885a8 100644
--- a/qt-ui/locationInformation.ui
+++ b/qt-ui/locationInformation.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>400</width>
- <height>300</height>
+ <width>556</width>
+ <height>584</height>
</rect>
</property>
<property name="windowTitle">
@@ -16,10 +16,20 @@
<property name="title">
<string>Dive Site</string>
</property>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="0" colspan="2">
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="1">
<widget class="KMessageWidget" name="diveSiteMessage" native="true"/>
</item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>Notes</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="diveSiteCoordinates"/>
+ </item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
@@ -30,34 +40,37 @@
<item row="1" column="1">
<widget class="QLineEdit" name="diveSiteName"/>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_2">
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_3">
<property name="text">
- <string>Coordinates</string>
+ <string>Description</string>
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="diveSiteCoordinates"/>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_3">
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_2">
<property name="text">
- <string>Description</string>
+ <string>Coordinates</string>
</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">
- <string>Notes</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="4" column="1">
+ <item row="4" column="1" rowspan="2">
<widget class="QPlainTextEdit" name="diveSiteNotes"/>
</item>
</layout>