|
55 | 55 | <height>598</height>
|
56 | 56 | </rect>
|
57 | 57 | </property>
|
58 |
| - <layout class="QVBoxLayout" name="verticalLayout"> |
59 |
| - <item> |
60 |
| - <widget class="QGroupBox" name="buttonGroup1"> |
| 58 | + <layout class="QGridLayout" name="gridLayout_5"> |
| 59 | + <item row="0" column="0"> |
| 60 | + <widget class="QLabel" name="mFileFormatLabel"> |
| 61 | + <property name="enabled"> |
| 62 | + <bool>true</bool> |
| 63 | + </property> |
| 64 | + <property name="text"> |
| 65 | + <string>Database</string> |
| 66 | + </property> |
| 67 | + <property name="buddy"> |
| 68 | + <cstring>mDatabaseComboBox</cstring> |
| 69 | + </property> |
| 70 | + </widget> |
| 71 | + </item> |
| 72 | + <item row="0" column="1"> |
| 73 | + <widget class="QComboBox" name="mDatabaseComboBox"> |
| 74 | + <property name="enabled"> |
| 75 | + <bool>true</bool> |
| 76 | + </property> |
61 | 77 | <property name="sizePolicy">
|
62 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
| 78 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
63 | 79 | <horstretch>0</horstretch>
|
64 | 80 | <verstretch>0</verstretch>
|
65 | 81 | </sizepolicy>
|
66 | 82 | </property>
|
67 |
| - <property name="title"> |
68 |
| - <string>Type</string> |
| 83 | + </widget> |
| 84 | + </item> |
| 85 | + <item row="0" column="2"> |
| 86 | + <widget class="QToolButton" name="toolButtonNewDatabase"> |
| 87 | + <property name="toolTip"> |
| 88 | + <string>Create a new SpatiaLite database</string> |
| 89 | + </property> |
| 90 | + <property name="text"> |
| 91 | + <string>…</string> |
69 | 92 | </property>
|
70 |
| - <layout class="QGridLayout" name="gridLayout_2"> |
71 |
| - <item row="0" column="0"> |
72 |
| - <widget class="QRadioButton" name="mPointRadioButton"> |
73 |
| - <property name="text"> |
74 |
| - <string>Point</string> |
75 |
| - </property> |
76 |
| - </widget> |
77 |
| - </item> |
78 |
| - <item row="0" column="1"> |
79 |
| - <widget class="QRadioButton" name="mLineRadioButton"> |
80 |
| - <property name="text"> |
81 |
| - <string>Line</string> |
82 |
| - </property> |
83 |
| - </widget> |
84 |
| - </item> |
85 |
| - <item row="0" column="2"> |
86 |
| - <widget class="QRadioButton" name="mPolygonRadioButton"> |
87 |
| - <property name="text"> |
88 |
| - <string>Polygon</string> |
89 |
| - </property> |
90 |
| - </widget> |
91 |
| - </item> |
92 |
| - <item row="1" column="0"> |
93 |
| - <widget class="QRadioButton" name="mMultipointRadioButton"> |
94 |
| - <property name="text"> |
95 |
| - <string>MultiPoint</string> |
96 |
| - </property> |
97 |
| - </widget> |
98 |
| - </item> |
99 |
| - <item row="1" column="1"> |
100 |
| - <widget class="QRadioButton" name="mMultilineRadioButton"> |
101 |
| - <property name="text"> |
102 |
| - <string>Multiline</string> |
103 |
| - </property> |
104 |
| - </widget> |
105 |
| - </item> |
106 |
| - <item row="1" column="2"> |
107 |
| - <widget class="QRadioButton" name="mMultipolygonRadioButton"> |
108 |
| - <property name="text"> |
109 |
| - <string>Multipolygon</string> |
110 |
| - </property> |
111 |
| - </widget> |
112 |
| - </item> |
113 |
| - </layout> |
114 | 93 | </widget>
|
115 | 94 | </item>
|
116 |
| - <item> |
117 |
| - <layout class="QHBoxLayout" name="horizontalLayout"> |
118 |
| - <item> |
119 |
| - <widget class="QLabel" name="mFileFormatLabel"> |
120 |
| - <property name="enabled"> |
121 |
| - <bool>true</bool> |
122 |
| - </property> |
123 |
| - <property name="text"> |
124 |
| - <string>Database</string> |
125 |
| - </property> |
126 |
| - <property name="buddy"> |
127 |
| - <cstring>mDatabaseComboBox</cstring> |
128 |
| - </property> |
129 |
| - </widget> |
130 |
| - </item> |
131 |
| - <item> |
132 |
| - <widget class="QComboBox" name="mDatabaseComboBox"> |
133 |
| - <property name="enabled"> |
134 |
| - <bool>true</bool> |
135 |
| - </property> |
136 |
| - <property name="sizePolicy"> |
137 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
138 |
| - <horstretch>0</horstretch> |
139 |
| - <verstretch>0</verstretch> |
140 |
| - </sizepolicy> |
141 |
| - </property> |
142 |
| - </widget> |
143 |
| - </item> |
144 |
| - <item> |
145 |
| - <widget class="QToolButton" name="toolButtonNewDatabase"> |
146 |
| - <property name="toolTip"> |
147 |
| - <string>Create a new SpatiaLite database</string> |
148 |
| - </property> |
149 |
| - <property name="text"> |
150 |
| - <string>…</string> |
151 |
| - </property> |
152 |
| - </widget> |
153 |
| - </item> |
154 |
| - </layout> |
| 95 | + <item row="1" column="0"> |
| 96 | + <widget class="QLabel" name="label"> |
| 97 | + <property name="text"> |
| 98 | + <string>Layer name</string> |
| 99 | + </property> |
| 100 | + <property name="buddy"> |
| 101 | + <cstring>leLayerName</cstring> |
| 102 | + </property> |
| 103 | + </widget> |
155 | 104 | </item>
|
156 |
| - <item> |
157 |
| - <layout class="QHBoxLayout" name="horizontalLayout_2"> |
158 |
| - <item> |
159 |
| - <widget class="QLabel" name="label"> |
160 |
| - <property name="text"> |
161 |
| - <string>Layer name</string> |
162 |
| - </property> |
163 |
| - <property name="buddy"> |
164 |
| - <cstring>leLayerName</cstring> |
165 |
| - </property> |
166 |
| - </widget> |
167 |
| - </item> |
168 |
| - <item> |
169 |
| - <widget class="QLineEdit" name="leLayerName"> |
170 |
| - <property name="sizePolicy"> |
171 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
172 |
| - <horstretch>0</horstretch> |
173 |
| - <verstretch>0</verstretch> |
174 |
| - </sizepolicy> |
175 |
| - </property> |
176 |
| - <property name="toolTip"> |
177 |
| - <string>Name for the new layer</string> |
178 |
| - </property> |
179 |
| - </widget> |
180 |
| - </item> |
181 |
| - </layout> |
| 105 | + <item row="1" column="1" colspan="2"> |
| 106 | + <widget class="QLineEdit" name="leLayerName"> |
| 107 | + <property name="sizePolicy"> |
| 108 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 109 | + <horstretch>0</horstretch> |
| 110 | + <verstretch>0</verstretch> |
| 111 | + </sizepolicy> |
| 112 | + </property> |
| 113 | + <property name="toolTip"> |
| 114 | + <string>Name for the new layer</string> |
| 115 | + </property> |
| 116 | + </widget> |
182 | 117 | </item>
|
183 |
| - <item> |
184 |
| - <layout class="QHBoxLayout" name="horizontalLayout_4"> |
185 |
| - <item> |
186 |
| - <widget class="QLabel" name="label_2"> |
187 |
| - <property name="text"> |
188 |
| - <string>Geometry column</string> |
189 |
| - </property> |
190 |
| - <property name="buddy"> |
191 |
| - <cstring>leGeometryColumn</cstring> |
192 |
| - </property> |
193 |
| - </widget> |
194 |
| - </item> |
195 |
| - <item> |
196 |
| - <widget class="QLineEdit" name="leGeometryColumn"> |
197 |
| - <property name="sizePolicy"> |
198 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
199 |
| - <horstretch>0</horstretch> |
200 |
| - <verstretch>0</verstretch> |
201 |
| - </sizepolicy> |
202 |
| - </property> |
203 |
| - <property name="toolTip"> |
204 |
| - <string>Name for the new layer</string> |
205 |
| - </property> |
206 |
| - <property name="text"> |
207 |
| - <string>geometry</string> |
208 |
| - </property> |
209 |
| - </widget> |
210 |
| - </item> |
211 |
| - </layout> |
| 118 | + <item row="2" column="0"> |
| 119 | + <widget class="QLabel" name="label"> |
| 120 | + <property name="text"> |
| 121 | + <string>Geometry type</string> |
| 122 | + </property> |
| 123 | + <property name="buddy"> |
| 124 | + <cstring>mGeometryTypeBox</cstring> |
| 125 | + </property> |
| 126 | + </widget> |
| 127 | + </item> |
| 128 | + <item row="2" column="1" colspan="2"> |
| 129 | + <widget class="QComboBox" name="mGeometryTypeBox"> |
| 130 | + <property name="enabled"> |
| 131 | + <bool>true</bool> |
| 132 | + </property> |
| 133 | + <property name="sizePolicy"> |
| 134 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 135 | + <horstretch>0</horstretch> |
| 136 | + <verstretch>0</verstretch> |
| 137 | + </sizepolicy> |
| 138 | + </property> |
| 139 | + <property name="toolTip"> |
| 140 | + <string><html><head/><body><p>Geometry type</p></body></html></string> |
| 141 | + </property> |
| 142 | + </widget> |
212 | 143 | </item>
|
213 |
| - <item> |
| 144 | + <item row="3" column="1" colspan="2"> |
214 | 145 | <layout class="QHBoxLayout" name="horizontalLayout_3">
|
215 | 146 | <item>
|
216 | 147 | <widget class="QLineEdit" name="leSRID">
|
|
236 | 167 | <property name="whatsThis">
|
237 | 168 | <string>Specify the coordinate reference system of the layer's geometry.</string>
|
238 | 169 | </property>
|
239 |
| - <property name="text"> |
240 |
| - <string>Specify CRS</string> |
| 170 | + <property name="icon"> |
| 171 | + <iconset resource="../../images/images.qrc"> |
| 172 | + <normaloff>:/images/themes/default/mActionSetProjection.svg</normaloff>:/images/themes/default/mActionSetProjection.svg</iconset> |
241 | 173 | </property>
|
242 | 174 | </widget>
|
243 | 175 | </item>
|
244 | 176 | </layout>
|
245 | 177 | </item>
|
246 |
| - <item> |
247 |
| - <widget class="QCheckBox" name="checkBoxPrimaryKey"> |
248 |
| - <property name="toolTip"> |
249 |
| - <string>Add an integer id field as the primary key for the new layer</string> |
250 |
| - </property> |
251 |
| - <property name="text"> |
252 |
| - <string>Create an autoincrementing primary key</string> |
253 |
| - </property> |
254 |
| - <property name="checked"> |
255 |
| - <bool>true</bool> |
256 |
| - </property> |
257 |
| - </widget> |
258 |
| - </item> |
259 |
| - <item> |
| 178 | + <item row="4" colspan="3"> |
260 | 179 | <widget class="QGroupBox" name="groupBox">
|
261 | 180 | <property name="title">
|
262 | 181 | <string>New field</string>
|
|
265 | 184 | <item row="0" column="0">
|
266 | 185 | <widget class="QLabel" name="textLabel1">
|
267 | 186 | <property name="sizePolicy">
|
268 |
| - <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 187 | + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> |
269 | 188 | <horstretch>0</horstretch>
|
270 | 189 | <verstretch>0</verstretch>
|
271 | 190 | </sizepolicy>
|
|
294 | 213 | <item row="1" column="0">
|
295 | 214 | <widget class="QLabel" name="textLabel2">
|
296 | 215 | <property name="sizePolicy">
|
297 |
| - <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 216 | + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> |
298 | 217 | <horstretch>0</horstretch>
|
299 | 218 | <verstretch>0</verstretch>
|
300 | 219 | </sizepolicy>
|
|
346 | 265 | </layout>
|
347 | 266 | </widget>
|
348 | 267 | </item>
|
349 |
| - <item> |
| 268 | + <item row="5" colspan="3"> |
350 | 269 | <widget class="QGroupBox" name="groupBox_2">
|
351 | 270 | <property name="title">
|
352 | 271 | <string>Fields list</string>
|
|
420 | 339 | </layout>
|
421 | 340 | </widget>
|
422 | 341 | </item>
|
| 342 | + <item row="6" colspan="3"> |
| 343 | + <widget class="QgsCollapsibleGroupBox" name="groupBox"> |
| 344 | + <property name="title"> |
| 345 | + <string>Advanced options</string> |
| 346 | + </property> |
| 347 | + <property name="collapsed" stdset="0"> |
| 348 | + <bool>true</bool> |
| 349 | + </property> |
| 350 | + <layout class="QGridLayout" name="gridLayout_6"> |
| 351 | + <item row="0" column="0"> |
| 352 | + <widget class="QLabel" name="label_2"> |
| 353 | + <property name="text"> |
| 354 | + <string>Geometry column</string> |
| 355 | + </property> |
| 356 | + <property name="buddy"> |
| 357 | + <cstring>leGeometryColumn</cstring> |
| 358 | + </property> |
| 359 | + </widget> |
| 360 | + </item> |
| 361 | + <item row="0" column="1"> |
| 362 | + <widget class="QLineEdit" name="leGeometryColumn"> |
| 363 | + <property name="sizePolicy"> |
| 364 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 365 | + <horstretch>0</horstretch> |
| 366 | + <verstretch>0</verstretch> |
| 367 | + </sizepolicy> |
| 368 | + </property> |
| 369 | + <property name="toolTip"> |
| 370 | + <string>Name for the new layer</string> |
| 371 | + </property> |
| 372 | + <property name="text"> |
| 373 | + <string>geometry</string> |
| 374 | + </property> |
| 375 | + </widget> |
| 376 | + </item> |
| 377 | + <item row="1" column="0" colspan="2"> |
| 378 | + <widget class="QCheckBox" name="checkBoxPrimaryKey"> |
| 379 | + <property name="toolTip"> |
| 380 | + <string>Add an integer id field as the primary key for the new layer</string> |
| 381 | + </property> |
| 382 | + <property name="text"> |
| 383 | + <string>Create an autoincrementing primary key</string> |
| 384 | + </property> |
| 385 | + <property name="checked"> |
| 386 | + <bool>true</bool> |
| 387 | + </property> |
| 388 | + </widget> |
| 389 | + </item> |
| 390 | + </layout> |
| 391 | + </widget> |
| 392 | + </item> |
423 | 393 | </layout>
|
424 | 394 | </widget>
|
425 | 395 | </widget>
|
|
0 commit comments