Skip to content

Commit 481461d

Browse files
committed
Align widgets in raster layer save as dialog
1 parent c61794c commit 481461d

File tree

1 file changed

+102
-103
lines changed

1 file changed

+102
-103
lines changed

src/ui/qgsrasterlayersaveasdialogbase.ui

+102-103
Original file line numberDiff line numberDiff line change
@@ -15,58 +15,68 @@
1515
</property>
1616
<layout class="QVBoxLayout" name="verticalLayout">
1717
<item>
18-
<layout class="QHBoxLayout" name="horizontalLayout_6">
19-
<item>
20-
<widget class="QLabel" name="mModeLabel">
21-
<property name="text">
22-
<string>Output mode</string>
23-
</property>
24-
</widget>
25-
</item>
26-
<item>
27-
<widget class="QRadioButton" name="mRawModeRadioButton">
28-
<property name="toolTip">
29-
<string>Write out raw raster layer data. Optionally user defined no data values may be applied.</string>
30-
</property>
31-
<property name="text">
32-
<string>Raw data</string>
33-
</property>
34-
<property name="checked">
18+
<layout class="QGridLayout" name="gridLayout_4">
19+
<item row="2" column="1">
20+
<widget class="QgsFileWidget" name="mFilename" native="true">
21+
<property name="enabled">
3522
<bool>true</bool>
3623
</property>
24+
<property name="focusPolicy">
25+
<enum>Qt::StrongFocus</enum>
26+
</property>
3727
</widget>
3828
</item>
39-
<item>
40-
<widget class="QRadioButton" name="mRenderedModeRadioButton">
41-
<property name="toolTip">
42-
<string>Write out 3 bands RGB image rendered using current layer style.</string>
43-
</property>
29+
<item row="0" column="0">
30+
<widget class="QLabel" name="mModeLabel">
4431
<property name="text">
45-
<string>Rendered image</string>
46-
</property>
47-
<property name="checked">
48-
<bool>false</bool>
32+
<string>Output mode</string>
4933
</property>
5034
</widget>
5135
</item>
52-
<item>
53-
<spacer name="horizontalSpacer">
54-
<property name="orientation">
55-
<enum>Qt::Horizontal</enum>
56-
</property>
57-
<property name="sizeHint" stdset="0">
58-
<size>
59-
<width>40</width>
60-
<height>20</height>
61-
</size>
62-
</property>
63-
</spacer>
36+
<item row="0" column="1">
37+
<layout class="QHBoxLayout" name="horizontalLayout_6">
38+
<item>
39+
<widget class="QRadioButton" name="mRawModeRadioButton">
40+
<property name="toolTip">
41+
<string>Write out raw raster layer data. Optionally user defined no data values may be applied.</string>
42+
</property>
43+
<property name="text">
44+
<string>Raw data</string>
45+
</property>
46+
<property name="checked">
47+
<bool>true</bool>
48+
</property>
49+
</widget>
50+
</item>
51+
<item>
52+
<widget class="QRadioButton" name="mRenderedModeRadioButton">
53+
<property name="toolTip">
54+
<string>Write out 3 bands RGB image rendered using current layer style.</string>
55+
</property>
56+
<property name="text">
57+
<string>Rendered image</string>
58+
</property>
59+
<property name="checked">
60+
<bool>false</bool>
61+
</property>
62+
</widget>
63+
</item>
64+
<item>
65+
<spacer name="horizontalSpacer">
66+
<property name="orientation">
67+
<enum>Qt::Horizontal</enum>
68+
</property>
69+
<property name="sizeHint" stdset="0">
70+
<size>
71+
<width>40</width>
72+
<height>20</height>
73+
</size>
74+
</property>
75+
</spacer>
76+
</item>
77+
</layout>
6478
</item>
65-
</layout>
66-
</item>
67-
<item>
68-
<layout class="QHBoxLayout" name="horizontalLayout">
69-
<item>
79+
<item row="1" column="0">
7080
<widget class="QLabel" name="mFormatLabel">
7181
<property name="text">
7282
<string>Format</string>
@@ -76,53 +86,39 @@
7686
</property>
7787
</widget>
7888
</item>
79-
<item>
80-
<widget class="QComboBox" name="mFormatComboBox">
81-
<property name="sizePolicy">
82-
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
83-
<horstretch>0</horstretch>
84-
<verstretch>0</verstretch>
85-
</sizepolicy>
89+
<item row="3" column="1">
90+
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector" native="true">
91+
<property name="focusPolicy">
92+
<enum>Qt::StrongFocus</enum>
8693
</property>
8794
</widget>
8895
</item>
89-
<item>
90-
<widget class="QCheckBox" name="mTileModeCheckBox">
91-
<property name="toolTip">
92-
<string>Create GDAL Virtual Format composed of multiple
96+
<item row="1" column="1">
97+
<layout class="QHBoxLayout" name="horizontalLayout">
98+
<item>
99+
<widget class="QComboBox" name="mFormatComboBox">
100+
<property name="sizePolicy">
101+
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
102+
<horstretch>0</horstretch>
103+
<verstretch>0</verstretch>
104+
</sizepolicy>
105+
</property>
106+
</widget>
107+
</item>
108+
<item>
109+
<widget class="QCheckBox" name="mTileModeCheckBox">
110+
<property name="toolTip">
111+
<string>Create GDAL Virtual Format composed of multiple
93112
datasets with maximum width and height specified below.</string>
94-
</property>
95-
<property name="text">
96-
<string>Create VRT</string>
97-
</property>
98-
</widget>
99-
</item>
100-
</layout>
101-
</item>
102-
<item>
103-
<layout class="QHBoxLayout" name="horizontalLayout_3">
104-
<item>
105-
<widget class="QLabel" name="mSaveAsLabel">
106-
<property name="text">
107-
<string>File name</string>
108-
</property>
109-
<property name="buddy">
110-
<cstring>mFilename</cstring>
111-
</property>
112-
</widget>
113-
</item>
114-
<item>
115-
<widget class="QgsFileWidget" name="mFilename">
116-
<property name="enabled">
117-
<bool>true</bool>
118-
</property>
119-
</widget>
113+
</property>
114+
<property name="text">
115+
<string>Create VRT</string>
116+
</property>
117+
</widget>
118+
</item>
119+
</layout>
120120
</item>
121-
</layout>
122-
</item>
123-
<item>
124-
<layout class="QHBoxLayout" name="horizontalLayout_4">
125-
<item>
121+
<item row="3" column="0">
126122
<widget class="QLabel" name="label_2">
127123
<property name="sizePolicy">
128124
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -141,25 +137,28 @@ datasets with maximum width and height specified below.</string>
141137
</property>
142138
</widget>
143139
</item>
144-
<item>
145-
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector" native="true">
146-
<property name="focusPolicy">
147-
<enum>Qt::StrongFocus</enum>
140+
<item row="2" column="0">
141+
<widget class="QLabel" name="mSaveAsLabel">
142+
<property name="text">
143+
<string>File name</string>
144+
</property>
145+
<property name="buddy">
146+
<cstring>mFilename</cstring>
147+
</property>
148+
</widget>
149+
</item>
150+
<item row="4" column="0" colspan="2">
151+
<widget class="QCheckBox" name="mAddToCanvas">
152+
<property name="text">
153+
<string>Add saved file to map</string>
154+
</property>
155+
<property name="checked">
156+
<bool>true</bool>
148157
</property>
149158
</widget>
150159
</item>
151160
</layout>
152161
</item>
153-
<item>
154-
<widget class="QCheckBox" name="mAddToCanvas">
155-
<property name="text">
156-
<string>Add saved file to map</string>
157-
</property>
158-
<property name="checked">
159-
<bool>true</bool>
160-
</property>
161-
</widget>
162-
</item>
163162
<item>
164163
<widget class="QgsScrollArea" name="mScrollArea">
165164
<property name="frameShape">
@@ -176,8 +175,8 @@ datasets with maximum width and height specified below.</string>
176175
<rect>
177176
<x>0</x>
178177
<y>0</y>
179-
<width>541</width>
180-
<height>754</height>
178+
<width>543</width>
179+
<height>675</height>
181180
</rect>
182181
</property>
183182
<layout class="QVBoxLayout" name="verticalLayout_5">
@@ -516,10 +515,10 @@ datasets with maximum width and height specified below.</string>
516515
<property name="checked">
517516
<bool>false</bool>
518517
</property>
519-
<property name="collapsed">
518+
<property name="collapsed" stdset="0">
520519
<bool>false</bool>
521520
</property>
522-
<property name="saveCollapsedState">
521+
<property name="saveCollapsedState" stdset="0">
523522
<bool>true</bool>
524523
</property>
525524
<layout class="QHBoxLayout" name="horizontalLayout_7">

0 commit comments

Comments
 (0)