|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>383</width> |
10 |
| - <height>444</height> |
| 9 | + <width>574</width> |
| 10 | + <height>652</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="sizePolicy">
|
|
23 | 23 | <property name="sizeConstraint">
|
24 | 24 | <enum>QLayout::SetMinAndMaxSize</enum>
|
25 | 25 | </property>
|
26 |
| - <item row="1" column="1"> |
27 |
| - <widget class="QLineEdit" name="leFilename"> |
28 |
| - <property name="enabled"> |
29 |
| - <bool>false</bool> |
30 |
| - </property> |
31 |
| - </widget> |
32 |
| - </item> |
33 |
| - <item row="6" column="2"> |
34 |
| - <widget class="QPushButton" name="browseCRS"> |
35 |
| - <property name="text"> |
36 |
| - <string>Browse</string> |
37 |
| - </property> |
38 |
| - </widget> |
39 |
| - </item> |
40 |
| - <item row="4" column="0"> |
41 |
| - <widget class="QLabel" name="label_4"> |
42 |
| - <property name="text"> |
43 |
| - <string>Encoding</string> |
44 |
| - </property> |
45 |
| - <property name="buddy"> |
46 |
| - <cstring>mEncodingComboBox</cstring> |
47 |
| - </property> |
48 |
| - </widget> |
49 |
| - </item> |
50 |
| - <item row="5" column="0" rowspan="2"> |
51 |
| - <widget class="QLabel" name="label_3"> |
52 |
| - <property name="text"> |
53 |
| - <string>CRS</string> |
54 |
| - </property> |
55 |
| - <property name="buddy"> |
56 |
| - <cstring>leCRS</cstring> |
57 |
| - </property> |
58 |
| - </widget> |
59 |
| - </item> |
60 |
| - <item row="4" column="1" colspan="2"> |
61 |
| - <widget class="QComboBox" name="mEncodingComboBox"/> |
62 |
| - </item> |
63 | 26 | <item row="7" column="0">
|
64 | 27 | <widget class="QLabel" name="mSymbologyExportLabel">
|
65 | 28 | <property name="text">
|
66 | 29 | <string>Symbology export</string>
|
67 | 30 | </property>
|
68 | 31 | </widget>
|
69 | 32 | </item>
|
70 |
| - <item row="1" column="0"> |
71 |
| - <widget class="QLabel" name="label"> |
72 |
| - <property name="text"> |
73 |
| - <string>Save as</string> |
74 |
| - </property> |
75 |
| - <property name="buddy"> |
76 |
| - <cstring>leFilename</cstring> |
77 |
| - </property> |
78 |
| - </widget> |
79 |
| - </item> |
80 |
| - <item row="7" column="1" colspan="2"> |
81 |
| - <widget class="QComboBox" name="mSymbologyExportComboBox"/> |
82 |
| - </item> |
83 |
| - <item row="1" column="2"> |
84 |
| - <widget class="QPushButton" name="browseFilename"> |
85 |
| - <property name="enabled"> |
86 |
| - <bool>false</bool> |
| 33 | + <item row="12" column="0"> |
| 34 | + <widget class="QCheckBox" name="mSkipAttributeCreation"> |
| 35 | + <property name="toolTip"> |
| 36 | + <string>This allows one to surpress attribute creation as some OGR drivers (eg. DGN, DXF) don't support it.</string> |
87 | 37 | </property>
|
88 | 38 | <property name="text">
|
89 |
| - <string>Browse</string> |
90 |
| - </property> |
91 |
| - </widget> |
92 |
| - </item> |
93 |
| - <item row="6" column="1"> |
94 |
| - <widget class="QLineEdit" name="leCRS"> |
95 |
| - <property name="enabled"> |
96 |
| - <bool>false</bool> |
97 |
| - </property> |
98 |
| - <property name="readOnly"> |
99 |
| - <bool>true</bool> |
| 39 | + <string>Skip attribute creation</string> |
100 | 40 | </property>
|
101 | 41 | </widget>
|
102 | 42 | </item>
|
103 |
| - <item row="5" column="1" colspan="2"> |
104 |
| - <widget class="QComboBox" name="mCRSSelection"/> |
105 |
| - </item> |
106 | 43 | <item row="0" column="0">
|
107 | 44 | <widget class="QLabel" name="label_2">
|
108 | 45 | <property name="text">
|
|
113 | 50 | </property>
|
114 | 51 | </widget>
|
115 | 52 | </item>
|
116 |
| - <item row="12" column="0" colspan="3"> |
117 |
| - <widget class="QDialogButtonBox" name="buttonBox"> |
118 |
| - <property name="orientation"> |
119 |
| - <enum>Qt::Horizontal</enum> |
| 53 | + <item row="1" column="2"> |
| 54 | + <widget class="QPushButton" name="browseFilename"> |
| 55 | + <property name="enabled"> |
| 56 | + <bool>false</bool> |
120 | 57 | </property>
|
121 |
| - <property name="standardButtons"> |
122 |
| - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> |
| 58 | + <property name="text"> |
| 59 | + <string>Browse</string> |
123 | 60 | </property>
|
124 | 61 | </widget>
|
125 | 62 | </item>
|
126 |
| - <item row="0" column="1" colspan="2"> |
127 |
| - <widget class="QComboBox" name="mFormatComboBox"/> |
128 |
| - </item> |
129 |
| - <item row="9" column="0" colspan="3"> |
130 |
| - <widget class="QgsCollapsibleGroupBox" name="mOgrOptionsGroupBox" native="true"> |
131 |
| - <property name="sizePolicy"> |
132 |
| - <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> |
133 |
| - <horstretch>0</horstretch> |
134 |
| - <verstretch>0</verstretch> |
135 |
| - </sizepolicy> |
| 63 | + <item row="11" column="0" colspan="3"> |
| 64 | + <widget class="QgsCollapsibleGroupBox" name="mOgrOptionsGroupBox"> |
| 65 | + <property name="title"> |
| 66 | + <string>Custom Options</string> |
136 | 67 | </property>
|
137 |
| - <property name="minimumSize"> |
138 |
| - <size> |
139 |
| - <width>0</width> |
140 |
| - <height>0</height> |
141 |
| - </size> |
142 |
| - </property> |
143 |
| - <property name="maximumSize"> |
144 |
| - <size> |
145 |
| - <width>16777215</width> |
146 |
| - <height>16777215</height> |
147 |
| - </size> |
148 |
| - </property> |
149 |
| - <property name="baseSize"> |
150 |
| - <size> |
151 |
| - <width>0</width> |
152 |
| - <height>0</height> |
153 |
| - </size> |
154 |
| - </property> |
155 |
| - <property name="title" stdset="0"> |
156 |
| - <string>OGR creation options</string> |
157 |
| - </property> |
158 |
| - <layout class="QGridLayout" name="gridLayout_2"> |
| 68 | + <layout class="QGridLayout" name="gridLayout_3"> |
| 69 | + <item row="0" column="0"> |
| 70 | + <widget class="QLabel" name="label_5"> |
| 71 | + <property name="text"> |
| 72 | + <string>Data source</string> |
| 73 | + </property> |
| 74 | + <property name="buddy"> |
| 75 | + <cstring>mOgrDatasourceOptions</cstring> |
| 76 | + </property> |
| 77 | + </widget> |
| 78 | + </item> |
159 | 79 | <item row="0" column="1">
|
160 | 80 | <widget class="QTextEdit" name="mOgrDatasourceOptions">
|
161 | 81 | <property name="sizePolicy">
|
|
184 | 104 | </property>
|
185 | 105 | </widget>
|
186 | 106 | </item>
|
| 107 | + <item row="1" column="0"> |
| 108 | + <widget class="QLabel" name="label_6"> |
| 109 | + <property name="text"> |
| 110 | + <string>Layer</string> |
| 111 | + </property> |
| 112 | + <property name="buddy"> |
| 113 | + <cstring>mOgrLayerOptions</cstring> |
| 114 | + </property> |
| 115 | + </widget> |
| 116 | + </item> |
187 | 117 | <item row="1" column="1">
|
188 | 118 | <widget class="QTextEdit" name="mOgrLayerOptions">
|
189 | 119 | <property name="sizePolicy">
|
|
212 | 142 | </property>
|
213 | 143 | </widget>
|
214 | 144 | </item>
|
215 |
| - <item row="0" column="0"> |
216 |
| - <widget class="QLabel" name="label_5"> |
217 |
| - <property name="text"> |
218 |
| - <string>Data source</string> |
219 |
| - </property> |
220 |
| - <property name="buddy"> |
221 |
| - <cstring>mOgrDatasourceOptions</cstring> |
222 |
| - </property> |
223 |
| - </widget> |
224 |
| - </item> |
225 |
| - <item row="1" column="0"> |
226 |
| - <widget class="QLabel" name="label_6"> |
227 |
| - <property name="text"> |
228 |
| - <string>Layer</string> |
229 |
| - </property> |
230 |
| - <property name="buddy"> |
231 |
| - <cstring>mOgrLayerOptions</cstring> |
232 |
| - </property> |
233 |
| - </widget> |
234 |
| - </item> |
235 | 145 | </layout>
|
| 146 | + <zorder>label_6</zorder> |
| 147 | + <zorder>label_5</zorder> |
| 148 | + <zorder>mOgrDatasourceOptions</zorder> |
| 149 | + <zorder>mOgrLayerOptions</zorder> |
| 150 | + </widget> |
| 151 | + </item> |
| 152 | + <item row="13" column="0"> |
| 153 | + <widget class="QCheckBox" name="mAddToCanvas"> |
| 154 | + <property name="text"> |
| 155 | + <string>Add saved file to map</string> |
| 156 | + </property> |
| 157 | + </widget> |
| 158 | + </item> |
| 159 | + <item row="6" column="1"> |
| 160 | + <widget class="QLineEdit" name="leCRS"> |
| 161 | + <property name="enabled"> |
| 162 | + <bool>false</bool> |
| 163 | + </property> |
| 164 | + <property name="readOnly"> |
| 165 | + <bool>true</bool> |
| 166 | + </property> |
| 167 | + </widget> |
| 168 | + </item> |
| 169 | + <item row="5" column="0" rowspan="2"> |
| 170 | + <widget class="QLabel" name="label_3"> |
| 171 | + <property name="text"> |
| 172 | + <string>CRS</string> |
| 173 | + </property> |
| 174 | + <property name="buddy"> |
| 175 | + <cstring>leCRS</cstring> |
| 176 | + </property> |
| 177 | + </widget> |
| 178 | + </item> |
| 179 | + <item row="1" column="0"> |
| 180 | + <widget class="QLabel" name="label"> |
| 181 | + <property name="text"> |
| 182 | + <string>Save as</string> |
| 183 | + </property> |
| 184 | + <property name="buddy"> |
| 185 | + <cstring>leFilename</cstring> |
| 186 | + </property> |
| 187 | + </widget> |
| 188 | + </item> |
| 189 | + <item row="14" column="0" colspan="3"> |
| 190 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 191 | + <property name="orientation"> |
| 192 | + <enum>Qt::Horizontal</enum> |
| 193 | + </property> |
| 194 | + <property name="standardButtons"> |
| 195 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> |
| 196 | + </property> |
| 197 | + </widget> |
| 198 | + </item> |
| 199 | + <item row="4" column="1" colspan="2"> |
| 200 | + <widget class="QComboBox" name="mEncodingComboBox"/> |
| 201 | + </item> |
| 202 | + <item row="8" column="0"> |
| 203 | + <widget class="QLabel" name="mScaleLabel"> |
| 204 | + <property name="text"> |
| 205 | + <string>Scale</string> |
| 206 | + </property> |
| 207 | + </widget> |
| 208 | + </item> |
| 209 | + <item row="0" column="1" colspan="2"> |
| 210 | + <widget class="QComboBox" name="mFormatComboBox"/> |
| 211 | + </item> |
| 212 | + <item row="4" column="0"> |
| 213 | + <widget class="QLabel" name="label_4"> |
| 214 | + <property name="text"> |
| 215 | + <string>Encoding</string> |
| 216 | + </property> |
| 217 | + <property name="buddy"> |
| 218 | + <cstring>mEncodingComboBox</cstring> |
| 219 | + </property> |
236 | 220 | </widget>
|
237 | 221 | </item>
|
238 | 222 | <item row="8" column="1" colspan="2">
|
|
248 | 232 | </property>
|
249 | 233 | </widget>
|
250 | 234 | </item>
|
251 |
| - <item row="8" column="0"> |
252 |
| - <widget class="QLabel" name="mScaleLabel"> |
253 |
| - <property name="text"> |
254 |
| - <string>Scale</string> |
| 235 | + <item row="1" column="1"> |
| 236 | + <widget class="QLineEdit" name="leFilename"> |
| 237 | + <property name="enabled"> |
| 238 | + <bool>false</bool> |
255 | 239 | </property>
|
256 | 240 | </widget>
|
257 | 241 | </item>
|
258 |
| - <item row="11" column="0"> |
259 |
| - <widget class="QCheckBox" name="mAddToCanvas"> |
260 |
| - <property name="text"> |
261 |
| - <string>Add saved file to map</string> |
| 242 | + <item row="10" column="0" colspan="3"> |
| 243 | + <widget class="QgsCollapsibleGroupBox" name="mLayerOptionsGroupBox"> |
| 244 | + <property name="title"> |
| 245 | + <string>Layer Options</string> |
262 | 246 | </property>
|
| 247 | + <layout class="QFormLayout" name="formLayout_2"> |
| 248 | + <property name="fieldGrowthPolicy"> |
| 249 | + <enum>QFormLayout::AllNonFixedFieldsGrow</enum> |
| 250 | + </property> |
| 251 | + </layout> |
263 | 252 | </widget>
|
264 | 253 | </item>
|
265 |
| - <item row="10" column="0"> |
266 |
| - <widget class="QCheckBox" name="mSkipAttributeCreation"> |
267 |
| - <property name="toolTip"> |
268 |
| - <string>This allows one to surpress attribute creation as some OGR drivers (eg. DGN, DXF) don't support it.</string> |
269 |
| - </property> |
| 254 | + <item row="6" column="2"> |
| 255 | + <widget class="QPushButton" name="browseCRS"> |
270 | 256 | <property name="text">
|
271 |
| - <string>Skip attribute creation</string> |
| 257 | + <string>Browse</string> |
| 258 | + </property> |
| 259 | + </widget> |
| 260 | + </item> |
| 261 | + <item row="5" column="1" colspan="2"> |
| 262 | + <widget class="QComboBox" name="mCRSSelection"/> |
| 263 | + </item> |
| 264 | + <item row="7" column="1" colspan="2"> |
| 265 | + <widget class="QComboBox" name="mSymbologyExportComboBox"/> |
| 266 | + </item> |
| 267 | + <item row="9" column="0" colspan="3"> |
| 268 | + <widget class="QgsCollapsibleGroupBox" name="mDatasourceOptionsGroupBox"> |
| 269 | + <property name="title"> |
| 270 | + <string>Datasource Options</string> |
272 | 271 | </property>
|
| 272 | + <layout class="QFormLayout" name="formLayout"> |
| 273 | + <property name="fieldGrowthPolicy"> |
| 274 | + <enum>QFormLayout::AllNonFixedFieldsGrow</enum> |
| 275 | + </property> |
| 276 | + </layout> |
273 | 277 | </widget>
|
274 | 278 | </item>
|
275 | 279 | </layout>
|
| 280 | + <zorder>mDatasourceOptionsGroupBox</zorder> |
| 281 | + <zorder>mLayerOptionsGroupBox</zorder> |
| 282 | + <zorder>mFormatComboBox</zorder> |
| 283 | + <zorder>mScaleSpinBox</zorder> |
| 284 | + <zorder>mScaleLabel</zorder> |
| 285 | + <zorder>mAddToCanvas</zorder> |
| 286 | + <zorder>mSkipAttributeCreation</zorder> |
| 287 | + <zorder>leFilename</zorder> |
| 288 | + <zorder>browseCRS</zorder> |
| 289 | + <zorder>label_4</zorder> |
| 290 | + <zorder>label_3</zorder> |
| 291 | + <zorder>mEncodingComboBox</zorder> |
| 292 | + <zorder>mSymbologyExportLabel</zorder> |
| 293 | + <zorder>label</zorder> |
| 294 | + <zorder>mSymbologyExportComboBox</zorder> |
| 295 | + <zorder>browseFilename</zorder> |
| 296 | + <zorder>leCRS</zorder> |
| 297 | + <zorder>mCRSSelection</zorder> |
| 298 | + <zorder>label_2</zorder> |
| 299 | + <zorder>buttonBox</zorder> |
| 300 | + <zorder>mOgrOptionsGroupBox</zorder> |
276 | 301 | </widget>
|
277 | 302 | <customwidgets>
|
278 | 303 | <customwidget>
|
279 | 304 | <class>QgsCollapsibleGroupBox</class>
|
280 |
| - <extends>QWidget</extends> |
| 305 | + <extends>QGroupBox</extends> |
281 | 306 | <header>qgscollapsiblegroupbox.h</header>
|
| 307 | + <container>1</container> |
282 | 308 | </customwidget>
|
283 | 309 | </customwidgets>
|
284 | 310 | <tabstops>
|
|
0 commit comments