|
36 | 36 | </property>
|
37 | 37 | <layout class="QGridLayout" name="gridLayout_4">
|
38 | 38 | <item row="0" column="0">
|
39 |
| - <layout class="QHBoxLayout" name="horizontalLayout"> |
40 |
| - <item> |
41 |
| - <widget class="QLabel" name="mFileFormatLabel"> |
42 |
| - <property name="enabled"> |
43 |
| - <bool>true</bool> |
44 |
| - </property> |
45 |
| - <property name="text"> |
46 |
| - <string>Database</string> |
47 |
| - </property> |
48 |
| - <property name="buddy"> |
49 |
| - <cstring>mDatabaseComboBox</cstring> |
50 |
| - </property> |
51 |
| - </widget> |
52 |
| - </item> |
53 |
| - <item> |
54 |
| - <widget class="QComboBox" name="mDatabaseComboBox"> |
55 |
| - <property name="enabled"> |
56 |
| - <bool>true</bool> |
57 |
| - </property> |
58 |
| - <property name="sizePolicy"> |
59 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
60 |
| - <horstretch>0</horstretch> |
61 |
| - <verstretch>0</verstretch> |
62 |
| - </sizepolicy> |
63 |
| - </property> |
64 |
| - </widget> |
65 |
| - </item> |
66 |
| - <item> |
67 |
| - <widget class="QToolButton" name="toolButtonNewDatabase"> |
68 |
| - <property name="toolTip"> |
69 |
| - <string>Create a new Spatialite database</string> |
70 |
| - </property> |
71 |
| - <property name="text"> |
72 |
| - <string>...</string> |
73 |
| - </property> |
74 |
| - </widget> |
75 |
| - </item> |
76 |
| - </layout> |
77 |
| - </item> |
78 |
| - <item row="1" column="0"> |
79 |
| - <layout class="QHBoxLayout" name="horizontalLayout_2"> |
80 |
| - <item> |
81 |
| - <widget class="QLabel" name="label"> |
82 |
| - <property name="text"> |
83 |
| - <string>Layer name</string> |
84 |
| - </property> |
85 |
| - <property name="buddy"> |
86 |
| - <cstring>leLayerName</cstring> |
87 |
| - </property> |
88 |
| - </widget> |
89 |
| - </item> |
90 |
| - <item> |
91 |
| - <widget class="QLineEdit" name="leLayerName"> |
92 |
| - <property name="sizePolicy"> |
93 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
94 |
| - <horstretch>0</horstretch> |
95 |
| - <verstretch>0</verstretch> |
96 |
| - </sizepolicy> |
97 |
| - </property> |
98 |
| - <property name="toolTip"> |
99 |
| - <string>Name for the new layer</string> |
100 |
| - </property> |
101 |
| - </widget> |
102 |
| - </item> |
103 |
| - </layout> |
104 |
| - </item> |
105 |
| - <item row="2" column="0"> |
106 |
| - <layout class="QHBoxLayout" name="horizontalLayout_4"> |
107 |
| - <item> |
108 |
| - <widget class="QLabel" name="label_2"> |
109 |
| - <property name="text"> |
110 |
| - <string>Geometry column</string> |
111 |
| - </property> |
112 |
| - <property name="buddy"> |
113 |
| - <cstring>leGeometryColumn</cstring> |
114 |
| - </property> |
115 |
| - </widget> |
116 |
| - </item> |
117 |
| - <item> |
118 |
| - <widget class="QLineEdit" name="leGeometryColumn"> |
119 |
| - <property name="sizePolicy"> |
120 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
121 |
| - <horstretch>0</horstretch> |
122 |
| - <verstretch>0</verstretch> |
123 |
| - </sizepolicy> |
124 |
| - </property> |
125 |
| - <property name="toolTip"> |
126 |
| - <string>Name for the new layer</string> |
127 |
| - </property> |
128 |
| - <property name="text"> |
129 |
| - <string>geometry</string> |
130 |
| - </property> |
131 |
| - </widget> |
132 |
| - </item> |
133 |
| - </layout> |
134 |
| - </item> |
135 |
| - <item row="3" column="0"> |
136 |
| - <widget class="QGroupBox" name="buttonGroup1"> |
137 |
| - <property name="sizePolicy"> |
138 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
139 |
| - <horstretch>0</horstretch> |
140 |
| - <verstretch>0</verstretch> |
141 |
| - </sizepolicy> |
142 |
| - </property> |
143 |
| - <property name="title"> |
144 |
| - <string>Type</string> |
145 |
| - </property> |
146 |
| - <layout class="QGridLayout" name="gridLayout_2"> |
147 |
| - <item row="0" column="0"> |
148 |
| - <widget class="QRadioButton" name="mPointRadioButton"> |
149 |
| - <property name="text"> |
150 |
| - <string>Point</string> |
151 |
| - </property> |
152 |
| - </widget> |
153 |
| - </item> |
154 |
| - <item row="0" column="1"> |
155 |
| - <widget class="QRadioButton" name="mLineRadioButton"> |
156 |
| - <property name="text"> |
157 |
| - <string>Line</string> |
158 |
| - </property> |
159 |
| - </widget> |
160 |
| - </item> |
161 |
| - <item row="0" column="2"> |
162 |
| - <widget class="QRadioButton" name="mPolygonRadioButton"> |
163 |
| - <property name="text"> |
164 |
| - <string>Polygon</string> |
165 |
| - </property> |
166 |
| - </widget> |
167 |
| - </item> |
168 |
| - <item row="1" column="0"> |
169 |
| - <widget class="QRadioButton" name="mMultipointRadioButton"> |
170 |
| - <property name="text"> |
171 |
| - <string>MultiPoint</string> |
172 |
| - </property> |
173 |
| - </widget> |
174 |
| - </item> |
175 |
| - <item row="1" column="1"> |
176 |
| - <widget class="QRadioButton" name="mMultilineRadioButton"> |
177 |
| - <property name="text"> |
178 |
| - <string>Multiline</string> |
179 |
| - </property> |
180 |
| - </widget> |
181 |
| - </item> |
182 |
| - <item row="1" column="2"> |
183 |
| - <widget class="QRadioButton" name="mMultipolygonRadioButton"> |
184 |
| - <property name="text"> |
185 |
| - <string>Multipolygon</string> |
186 |
| - </property> |
187 |
| - </widget> |
188 |
| - </item> |
189 |
| - </layout> |
190 |
| - </widget> |
191 |
| - </item> |
192 |
| - <item row="4" column="0"> |
193 |
| - <layout class="QHBoxLayout" name="horizontalLayout_3"> |
194 |
| - <item> |
195 |
| - <widget class="QLineEdit" name="leSRID"> |
196 |
| - <property name="toolTip"> |
197 |
| - <string>Spatial Reference Id</string> |
198 |
| - </property> |
199 |
| - <property name="readOnly"> |
200 |
| - <bool>true</bool> |
201 |
| - </property> |
202 |
| - </widget> |
203 |
| - </item> |
204 |
| - <item> |
205 |
| - <widget class="QPushButton" name="pbnFindSRID"> |
206 |
| - <property name="sizePolicy"> |
207 |
| - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
208 |
| - <horstretch>0</horstretch> |
209 |
| - <verstretch>0</verstretch> |
210 |
| - </sizepolicy> |
211 |
| - </property> |
212 |
| - <property name="toolTip"> |
213 |
| - <string>Specify the coordinate reference system of the layer's geometry.</string> |
214 |
| - </property> |
215 |
| - <property name="whatsThis"> |
216 |
| - <string>Specify the coordinate reference system of the layer's geometry.</string> |
217 |
| - </property> |
218 |
| - <property name="text"> |
219 |
| - <string>Find SRID</string> |
220 |
| - </property> |
221 |
| - </widget> |
222 |
| - </item> |
223 |
| - </layout> |
224 |
| - </item> |
225 |
| - <item row="5" column="0"> |
226 |
| - <widget class="QCheckBox" name="checkBoxPrimaryKey"> |
227 |
| - <property name="toolTip"> |
228 |
| - <string>Add an integer id field as the primary key for the new layer</string> |
229 |
| - </property> |
230 |
| - <property name="text"> |
231 |
| - <string>Create an autoincrementing primary key</string> |
232 |
| - </property> |
233 |
| - </widget> |
234 |
| - </item> |
235 |
| - <item row="6" column="0"> |
236 |
| - <widget class="QGroupBox" name="groupBox"> |
237 |
| - <property name="title"> |
238 |
| - <string>New attribute</string> |
239 |
| - </property> |
240 |
| - <layout class="QGridLayout" name="gridLayout"> |
241 |
| - <item row="0" column="0"> |
242 |
| - <widget class="QLabel" name="textLabel1"> |
243 |
| - <property name="sizePolicy"> |
244 |
| - <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
245 |
| - <horstretch>0</horstretch> |
246 |
| - <verstretch>0</verstretch> |
247 |
| - </sizepolicy> |
248 |
| - </property> |
249 |
| - <property name="text"> |
250 |
| - <string>Name</string> |
251 |
| - </property> |
252 |
| - <property name="buddy"> |
253 |
| - <cstring>mNameEdit</cstring> |
254 |
| - </property> |
255 |
| - </widget> |
256 |
| - </item> |
257 |
| - <item row="0" column="1" colspan="2"> |
258 |
| - <widget class="QLineEdit" name="mNameEdit"> |
259 |
| - <property name="sizePolicy"> |
260 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
261 |
| - <horstretch>0</horstretch> |
262 |
| - <verstretch>0</verstretch> |
263 |
| - </sizepolicy> |
264 |
| - </property> |
265 |
| - <property name="toolTip"> |
266 |
| - <string>An attribute name</string> |
267 |
| - </property> |
268 |
| - </widget> |
269 |
| - </item> |
270 |
| - <item row="1" column="0"> |
271 |
| - <widget class="QLabel" name="textLabel2"> |
272 |
| - <property name="sizePolicy"> |
273 |
| - <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
274 |
| - <horstretch>0</horstretch> |
275 |
| - <verstretch>0</verstretch> |
276 |
| - </sizepolicy> |
277 |
| - </property> |
278 |
| - <property name="text"> |
279 |
| - <string>Type</string> |
280 |
| - </property> |
281 |
| - <property name="buddy"> |
282 |
| - <cstring>mTypeBox</cstring> |
283 |
| - </property> |
284 |
| - </widget> |
285 |
| - </item> |
286 |
| - <item row="1" column="1" colspan="2"> |
287 |
| - <widget class="QComboBox" name="mTypeBox"> |
288 |
| - <property name="sizePolicy"> |
289 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
290 |
| - <horstretch>0</horstretch> |
291 |
| - <verstretch>0</verstretch> |
292 |
| - </sizepolicy> |
293 |
| - </property> |
294 |
| - </widget> |
295 |
| - </item> |
296 |
| - <item row="2" column="2"> |
297 |
| - <widget class="QToolButton" name="mAddAttributeButton"> |
298 |
| - <property name="sizePolicy"> |
299 |
| - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
300 |
| - <horstretch>0</horstretch> |
301 |
| - <verstretch>0</verstretch> |
302 |
| - </sizepolicy> |
303 |
| - </property> |
304 |
| - <property name="toolTip"> |
305 |
| - <string>Add attribute to list</string> |
306 |
| - </property> |
307 |
| - <property name="layoutDirection"> |
308 |
| - <enum>Qt::LeftToRight</enum> |
309 |
| - </property> |
310 |
| - <property name="text"> |
311 |
| - <string>Add to attributes list</string> |
312 |
| - </property> |
313 |
| - <property name="icon"> |
314 |
| - <iconset> |
315 |
| - <normaloff>../../images/themes/default/mActionNewAttribute.png</normaloff>../../images/themes/default/mActionNewAttribute.png</iconset> |
316 |
| - </property> |
317 |
| - <property name="toolButtonStyle"> |
318 |
| - <enum>Qt::ToolButtonTextBesideIcon</enum> |
319 |
| - </property> |
320 |
| - </widget> |
321 |
| - </item> |
322 |
| - </layout> |
323 |
| - </widget> |
324 |
| - </item> |
325 |
| - <item row="8" column="0"> |
326 |
| - <widget class="QGroupBox" name="groupBox_2"> |
327 |
| - <property name="title"> |
328 |
| - <string>Attributes list</string> |
| 39 | + <widget class="QScrollArea" name="scrollArea"> |
| 40 | + <property name="widgetResizable"> |
| 41 | + <bool>true</bool> |
329 | 42 | </property>
|
330 |
| - <layout class="QGridLayout" name="gridLayout_3"> |
331 |
| - <item row="1" column="0" colspan="3"> |
332 |
| - <widget class="QTreeWidget" name="mAttributeView"> |
333 |
| - <property name="sizePolicy"> |
334 |
| - <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> |
335 |
| - <horstretch>0</horstretch> |
336 |
| - <verstretch>0</verstretch> |
337 |
| - </sizepolicy> |
338 |
| - </property> |
339 |
| - <property name="alternatingRowColors"> |
340 |
| - <bool>true</bool> |
341 |
| - </property> |
342 |
| - <property name="rootIsDecorated"> |
343 |
| - <bool>false</bool> |
344 |
| - </property> |
345 |
| - <property name="columnCount"> |
346 |
| - <number>2</number> |
347 |
| - </property> |
348 |
| - <column> |
349 |
| - <property name="text"> |
350 |
| - <string>Name</string> |
| 43 | + <widget class="QWidget" name="scrollAreaWidgetContents"> |
| 44 | + <property name="geometry"> |
| 45 | + <rect> |
| 46 | + <x>0</x> |
| 47 | + <y>0</y> |
| 48 | + <width>410</width> |
| 49 | + <height>574</height> |
| 50 | + </rect> |
| 51 | + </property> |
| 52 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 53 | + <item> |
| 54 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 55 | + <item> |
| 56 | + <widget class="QLabel" name="mFileFormatLabel"> |
| 57 | + <property name="enabled"> |
| 58 | + <bool>true</bool> |
| 59 | + </property> |
| 60 | + <property name="text"> |
| 61 | + <string>Database</string> |
| 62 | + </property> |
| 63 | + <property name="buddy"> |
| 64 | + <cstring>mDatabaseComboBox</cstring> |
| 65 | + </property> |
| 66 | + </widget> |
| 67 | + </item> |
| 68 | + <item> |
| 69 | + <widget class="QComboBox" name="mDatabaseComboBox"> |
| 70 | + <property name="enabled"> |
| 71 | + <bool>true</bool> |
| 72 | + </property> |
| 73 | + <property name="sizePolicy"> |
| 74 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 75 | + <horstretch>0</horstretch> |
| 76 | + <verstretch>0</verstretch> |
| 77 | + </sizepolicy> |
| 78 | + </property> |
| 79 | + </widget> |
| 80 | + </item> |
| 81 | + <item> |
| 82 | + <widget class="QToolButton" name="toolButtonNewDatabase"> |
| 83 | + <property name="toolTip"> |
| 84 | + <string>Create a new Spatialite database</string> |
| 85 | + </property> |
| 86 | + <property name="text"> |
| 87 | + <string>...</string> |
| 88 | + </property> |
| 89 | + </widget> |
| 90 | + </item> |
| 91 | + </layout> |
| 92 | + </item> |
| 93 | + <item> |
| 94 | + <layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 95 | + <item> |
| 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> |
| 104 | + </item> |
| 105 | + <item> |
| 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> |
| 117 | + </item> |
| 118 | + </layout> |
| 119 | + </item> |
| 120 | + <item> |
| 121 | + <layout class="QHBoxLayout" name="horizontalLayout_4"> |
| 122 | + <item> |
| 123 | + <widget class="QLabel" name="label_2"> |
| 124 | + <property name="text"> |
| 125 | + <string>Geometry column</string> |
| 126 | + </property> |
| 127 | + <property name="buddy"> |
| 128 | + <cstring>leGeometryColumn</cstring> |
| 129 | + </property> |
| 130 | + </widget> |
| 131 | + </item> |
| 132 | + <item> |
| 133 | + <widget class="QLineEdit" name="leGeometryColumn"> |
| 134 | + <property name="sizePolicy"> |
| 135 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 136 | + <horstretch>0</horstretch> |
| 137 | + <verstretch>0</verstretch> |
| 138 | + </sizepolicy> |
| 139 | + </property> |
| 140 | + <property name="toolTip"> |
| 141 | + <string>Name for the new layer</string> |
| 142 | + </property> |
| 143 | + <property name="text"> |
| 144 | + <string>geometry</string> |
| 145 | + </property> |
| 146 | + </widget> |
| 147 | + </item> |
| 148 | + </layout> |
| 149 | + </item> |
| 150 | + <item> |
| 151 | + <widget class="QGroupBox" name="buttonGroup1"> |
| 152 | + <property name="sizePolicy"> |
| 153 | + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
| 154 | + <horstretch>0</horstretch> |
| 155 | + <verstretch>0</verstretch> |
| 156 | + </sizepolicy> |
351 | 157 | </property>
|
352 |
| - </column> |
353 |
| - <column> |
354 |
| - <property name="text"> |
| 158 | + <property name="title"> |
355 | 159 | <string>Type</string>
|
356 | 160 | </property>
|
357 |
| - </column> |
358 |
| - </widget> |
359 |
| - </item> |
360 |
| - <item row="2" column="0"> |
361 |
| - <spacer name="horizontalSpacer_2"> |
362 |
| - <property name="orientation"> |
363 |
| - <enum>Qt::Horizontal</enum> |
364 |
| - </property> |
365 |
| - <property name="sizeHint" stdset="0"> |
366 |
| - <size> |
367 |
| - <width>40</width> |
368 |
| - <height>20</height> |
369 |
| - </size> |
370 |
| - </property> |
371 |
| - </spacer> |
372 |
| - </item> |
373 |
| - <item row="2" column="1" colspan="2"> |
374 |
| - <widget class="QToolButton" name="mRemoveAttributeButton"> |
375 |
| - <property name="sizePolicy"> |
376 |
| - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
377 |
| - <horstretch>0</horstretch> |
378 |
| - <verstretch>0</verstretch> |
379 |
| - </sizepolicy> |
380 |
| - </property> |
381 |
| - <property name="toolTip"> |
382 |
| - <string>Delete selected attribute</string> |
383 |
| - </property> |
384 |
| - <property name="text"> |
385 |
| - <string>Remove attribute</string> |
386 |
| - </property> |
387 |
| - <property name="icon"> |
388 |
| - <iconset> |
389 |
| - <normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset> |
390 |
| - </property> |
391 |
| - <property name="toolButtonStyle"> |
392 |
| - <enum>Qt::ToolButtonTextBesideIcon</enum> |
393 |
| - </property> |
394 |
| - </widget> |
395 |
| - </item> |
396 |
| - </layout> |
| 161 | + <layout class="QGridLayout" name="gridLayout_2"> |
| 162 | + <item row="0" column="0"> |
| 163 | + <widget class="QRadioButton" name="mPointRadioButton"> |
| 164 | + <property name="text"> |
| 165 | + <string>Point</string> |
| 166 | + </property> |
| 167 | + </widget> |
| 168 | + </item> |
| 169 | + <item row="0" column="1"> |
| 170 | + <widget class="QRadioButton" name="mLineRadioButton"> |
| 171 | + <property name="text"> |
| 172 | + <string>Line</string> |
| 173 | + </property> |
| 174 | + </widget> |
| 175 | + </item> |
| 176 | + <item row="0" column="2"> |
| 177 | + <widget class="QRadioButton" name="mPolygonRadioButton"> |
| 178 | + <property name="text"> |
| 179 | + <string>Polygon</string> |
| 180 | + </property> |
| 181 | + </widget> |
| 182 | + </item> |
| 183 | + <item row="1" column="0"> |
| 184 | + <widget class="QRadioButton" name="mMultipointRadioButton"> |
| 185 | + <property name="text"> |
| 186 | + <string>MultiPoint</string> |
| 187 | + </property> |
| 188 | + </widget> |
| 189 | + </item> |
| 190 | + <item row="1" column="1"> |
| 191 | + <widget class="QRadioButton" name="mMultilineRadioButton"> |
| 192 | + <property name="text"> |
| 193 | + <string>Multiline</string> |
| 194 | + </property> |
| 195 | + </widget> |
| 196 | + </item> |
| 197 | + <item row="1" column="2"> |
| 198 | + <widget class="QRadioButton" name="mMultipolygonRadioButton"> |
| 199 | + <property name="text"> |
| 200 | + <string>Multipolygon</string> |
| 201 | + </property> |
| 202 | + </widget> |
| 203 | + </item> |
| 204 | + </layout> |
| 205 | + </widget> |
| 206 | + </item> |
| 207 | + <item> |
| 208 | + <layout class="QHBoxLayout" name="horizontalLayout_3"> |
| 209 | + <item> |
| 210 | + <widget class="QLineEdit" name="leSRID"> |
| 211 | + <property name="toolTip"> |
| 212 | + <string>Spatial Reference Id</string> |
| 213 | + </property> |
| 214 | + <property name="readOnly"> |
| 215 | + <bool>true</bool> |
| 216 | + </property> |
| 217 | + </widget> |
| 218 | + </item> |
| 219 | + <item> |
| 220 | + <widget class="QPushButton" name="pbnFindSRID"> |
| 221 | + <property name="sizePolicy"> |
| 222 | + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| 223 | + <horstretch>0</horstretch> |
| 224 | + <verstretch>0</verstretch> |
| 225 | + </sizepolicy> |
| 226 | + </property> |
| 227 | + <property name="toolTip"> |
| 228 | + <string>Specify the coordinate reference system of the layer's geometry.</string> |
| 229 | + </property> |
| 230 | + <property name="whatsThis"> |
| 231 | + <string>Specify the coordinate reference system of the layer's geometry.</string> |
| 232 | + </property> |
| 233 | + <property name="text"> |
| 234 | + <string>Find SRID</string> |
| 235 | + </property> |
| 236 | + </widget> |
| 237 | + </item> |
| 238 | + </layout> |
| 239 | + </item> |
| 240 | + <item> |
| 241 | + <widget class="QCheckBox" name="checkBoxPrimaryKey"> |
| 242 | + <property name="toolTip"> |
| 243 | + <string>Add an integer id field as the primary key for the new layer</string> |
| 244 | + </property> |
| 245 | + <property name="text"> |
| 246 | + <string>Create an autoincrementing primary key</string> |
| 247 | + </property> |
| 248 | + </widget> |
| 249 | + </item> |
| 250 | + <item> |
| 251 | + <widget class="QGroupBox" name="groupBox"> |
| 252 | + <property name="title"> |
| 253 | + <string>New attribute</string> |
| 254 | + </property> |
| 255 | + <layout class="QGridLayout" name="gridLayout"> |
| 256 | + <item row="0" column="0"> |
| 257 | + <widget class="QLabel" name="textLabel1"> |
| 258 | + <property name="sizePolicy"> |
| 259 | + <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 260 | + <horstretch>0</horstretch> |
| 261 | + <verstretch>0</verstretch> |
| 262 | + </sizepolicy> |
| 263 | + </property> |
| 264 | + <property name="text"> |
| 265 | + <string>Name</string> |
| 266 | + </property> |
| 267 | + <property name="buddy"> |
| 268 | + <cstring>mNameEdit</cstring> |
| 269 | + </property> |
| 270 | + </widget> |
| 271 | + </item> |
| 272 | + <item row="0" column="1" colspan="2"> |
| 273 | + <widget class="QLineEdit" name="mNameEdit"> |
| 274 | + <property name="sizePolicy"> |
| 275 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 276 | + <horstretch>0</horstretch> |
| 277 | + <verstretch>0</verstretch> |
| 278 | + </sizepolicy> |
| 279 | + </property> |
| 280 | + <property name="toolTip"> |
| 281 | + <string>An attribute name</string> |
| 282 | + </property> |
| 283 | + </widget> |
| 284 | + </item> |
| 285 | + <item row="1" column="0"> |
| 286 | + <widget class="QLabel" name="textLabel2"> |
| 287 | + <property name="sizePolicy"> |
| 288 | + <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 289 | + <horstretch>0</horstretch> |
| 290 | + <verstretch>0</verstretch> |
| 291 | + </sizepolicy> |
| 292 | + </property> |
| 293 | + <property name="text"> |
| 294 | + <string>Type</string> |
| 295 | + </property> |
| 296 | + <property name="buddy"> |
| 297 | + <cstring>mTypeBox</cstring> |
| 298 | + </property> |
| 299 | + </widget> |
| 300 | + </item> |
| 301 | + <item row="1" column="1" colspan="2"> |
| 302 | + <widget class="QComboBox" name="mTypeBox"> |
| 303 | + <property name="sizePolicy"> |
| 304 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 305 | + <horstretch>0</horstretch> |
| 306 | + <verstretch>0</verstretch> |
| 307 | + </sizepolicy> |
| 308 | + </property> |
| 309 | + </widget> |
| 310 | + </item> |
| 311 | + <item row="2" column="2"> |
| 312 | + <widget class="QToolButton" name="mAddAttributeButton"> |
| 313 | + <property name="sizePolicy"> |
| 314 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
| 315 | + <horstretch>0</horstretch> |
| 316 | + <verstretch>0</verstretch> |
| 317 | + </sizepolicy> |
| 318 | + </property> |
| 319 | + <property name="toolTip"> |
| 320 | + <string>Add attribute to list</string> |
| 321 | + </property> |
| 322 | + <property name="layoutDirection"> |
| 323 | + <enum>Qt::LeftToRight</enum> |
| 324 | + </property> |
| 325 | + <property name="text"> |
| 326 | + <string>Add to attributes list</string> |
| 327 | + </property> |
| 328 | + <property name="icon"> |
| 329 | + <iconset> |
| 330 | + <normaloff>../../images/themes/default/mActionNewAttribute.png</normaloff>../../images/themes/default/mActionNewAttribute.png</iconset> |
| 331 | + </property> |
| 332 | + <property name="toolButtonStyle"> |
| 333 | + <enum>Qt::ToolButtonTextBesideIcon</enum> |
| 334 | + </property> |
| 335 | + </widget> |
| 336 | + </item> |
| 337 | + </layout> |
| 338 | + </widget> |
| 339 | + </item> |
| 340 | + <item> |
| 341 | + <widget class="QGroupBox" name="groupBox_2"> |
| 342 | + <property name="title"> |
| 343 | + <string>Attributes list</string> |
| 344 | + </property> |
| 345 | + <layout class="QGridLayout" name="gridLayout_3"> |
| 346 | + <item row="1" column="0" colspan="3"> |
| 347 | + <widget class="QTreeWidget" name="mAttributeView"> |
| 348 | + <property name="sizePolicy"> |
| 349 | + <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> |
| 350 | + <horstretch>0</horstretch> |
| 351 | + <verstretch>0</verstretch> |
| 352 | + </sizepolicy> |
| 353 | + </property> |
| 354 | + <property name="alternatingRowColors"> |
| 355 | + <bool>true</bool> |
| 356 | + </property> |
| 357 | + <property name="rootIsDecorated"> |
| 358 | + <bool>false</bool> |
| 359 | + </property> |
| 360 | + <property name="columnCount"> |
| 361 | + <number>2</number> |
| 362 | + </property> |
| 363 | + <column> |
| 364 | + <property name="text"> |
| 365 | + <string>Name</string> |
| 366 | + </property> |
| 367 | + </column> |
| 368 | + <column> |
| 369 | + <property name="text"> |
| 370 | + <string>Type</string> |
| 371 | + </property> |
| 372 | + </column> |
| 373 | + </widget> |
| 374 | + </item> |
| 375 | + <item row="2" column="0"> |
| 376 | + <spacer name="horizontalSpacer_2"> |
| 377 | + <property name="orientation"> |
| 378 | + <enum>Qt::Horizontal</enum> |
| 379 | + </property> |
| 380 | + <property name="sizeHint" stdset="0"> |
| 381 | + <size> |
| 382 | + <width>40</width> |
| 383 | + <height>20</height> |
| 384 | + </size> |
| 385 | + </property> |
| 386 | + </spacer> |
| 387 | + </item> |
| 388 | + <item row="2" column="1" colspan="2"> |
| 389 | + <widget class="QToolButton" name="mRemoveAttributeButton"> |
| 390 | + <property name="sizePolicy"> |
| 391 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
| 392 | + <horstretch>0</horstretch> |
| 393 | + <verstretch>0</verstretch> |
| 394 | + </sizepolicy> |
| 395 | + </property> |
| 396 | + <property name="toolTip"> |
| 397 | + <string>Delete selected attribute</string> |
| 398 | + </property> |
| 399 | + <property name="text"> |
| 400 | + <string>Remove attribute</string> |
| 401 | + </property> |
| 402 | + <property name="icon"> |
| 403 | + <iconset> |
| 404 | + <normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset> |
| 405 | + </property> |
| 406 | + <property name="toolButtonStyle"> |
| 407 | + <enum>Qt::ToolButtonTextBesideIcon</enum> |
| 408 | + </property> |
| 409 | + </widget> |
| 410 | + </item> |
| 411 | + </layout> |
| 412 | + </widget> |
| 413 | + </item> |
| 414 | + </layout> |
| 415 | + </widget> |
397 | 416 | </widget>
|
398 | 417 | </item>
|
399 | 418 | <item row="9" column="0">
|
|
422 | 441 | <tabstop>mMultipolygonRadioButton</tabstop>
|
423 | 442 | <tabstop>leSRID</tabstop>
|
424 | 443 | <tabstop>pbnFindSRID</tabstop>
|
425 |
| - <tabstop>checkBoxPrimaryKey</tabstop> |
426 | 444 | <tabstop>mNameEdit</tabstop>
|
427 | 445 | <tabstop>mTypeBox</tabstop>
|
428 | 446 | <tabstop>mAttributeView</tabstop>
|
|
0 commit comments