diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-05-25 15:40:50 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-25 17:45:13 -0700 |
commit | 0f7061b93e44afb77e51f8e98492c9d5b7a79c8a (patch) | |
tree | 7a583c99fe541cfc6c23383f035c6ba13ba37080 /qt-ui | |
parent | 4a52f44ae35ef4b9cad9ed49d781a6eabb7ea8cb (diff) | |
download | subsurface-0f7061b93e44afb77e51f8e98492c9d5b7a79c8a.tar.gz |
Layout issues: Fix DownloadFromDiveComputer
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.ui | 126 |
1 files changed, 79 insertions, 47 deletions
diff --git a/qt-ui/downloadfromdivecomputer.ui b/qt-ui/downloadfromdivecomputer.ui index 359b42fae..ff809355f 100644 --- a/qt-ui/downloadfromdivecomputer.ui +++ b/qt-ui/downloadfromdivecomputer.ui @@ -18,13 +18,34 @@ <normalon>:/subsurface-icon</normalon> </iconset> </property> - <layout class="QVBoxLayout" name="vendorProductLabelLayout"> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <property name="spacing"> + <number>5</number> + </property> + <property name="leftMargin"> + <number>5</number> + </property> + <property name="topMargin"> + <number>5</number> + </property> + <property name="rightMargin"> + <number>5</number> + </property> + <property name="bottomMargin"> + <number>5</number> + </property> <item> - <layout class="QHBoxLayout" name="mainDialogLayout" stretch="0,1"> + <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <layout class="QVBoxLayout" name="leftOfMainLayout"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="choicesLayout"> + <property name="horizontalSpacing"> + <number>0</number> + </property> + <property name="verticalSpacing"> + <number>5</number> + </property> <item row="4" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> @@ -119,6 +140,9 @@ </item> <item> <layout class="QHBoxLayout" name="downloadCancelRetryLayout"> + <property name="spacing"> + <number>0</number> + </property> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> @@ -161,43 +185,18 @@ </property> </spacer> </item> - <item> - <layout class="QHBoxLayout" name="buttonBoxLayout"> - <item> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="ok"> - <property name="text"> - <string>OK</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="cancel"> - <property name="text"> - <string>Cancel</string> - </property> - </widget> - </item> - </layout> - </item> </layout> </item> <item> - <layout class="QVBoxLayout" name="downloadedDivesLayout"> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>0</number> + </property> <item> <layout class="QHBoxLayout" name="labelSelectAllNoneLayout"> + <property name="spacing"> + <number>5</number> + </property> <item> <widget class="QLabel" name="downloadedDivesLabel"> <property name="sizePolicy"> @@ -209,6 +208,9 @@ <property name="text"> <string>Downloaded dives</string> </property> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> + </property> </widget> </item> <item> @@ -228,23 +230,53 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="downloadedViewLayout"> - <item> - <widget class="QTableView" name="downloadedView"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - </layout> + <widget class="QTableView" name="downloadedView"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> </item> </layout> </item> </layout> </item> + <item> + <layout class="QHBoxLayout" name="buttonBoxLayout"> + <property name="spacing"> + <number>0</number> + </property> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="ok"> + <property name="text"> + <string>OK</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancel"> + <property name="text"> + <string>Cancel</string> + </property> + </widget> + </item> + </layout> + </item> </layout> </widget> <resources/> |