|
1 |
| -<ui version="4.0" > |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ui version="4.0"> |
2 | 3 | <class>Dialog</class>
|
3 |
| - <widget class="QDialog" name="Dialog" > |
4 |
| - <property name="windowModality" > |
| 4 | + <widget class="QDialog" name="Dialog"> |
| 5 | + <property name="windowModality"> |
5 | 6 | <enum>Qt::NonModal</enum>
|
6 | 7 | </property>
|
7 |
| - <property name="geometry" > |
| 8 | + <property name="geometry"> |
8 | 9 | <rect>
|
9 | 10 | <x>0</x>
|
10 | 11 | <y>0</y>
|
11 |
| - <width>369</width> |
| 12 | + <width>377</width> |
12 | 13 | <height>459</height>
|
13 | 14 | </rect>
|
14 | 15 | </property>
|
15 |
| - <property name="windowTitle" > |
16 |
| - <string>Generate Regular Points</string> |
| 16 | + <property name="windowTitle"> |
| 17 | + <string>Generate Vector Grid</string> |
17 | 18 | </property>
|
18 |
| - <property name="sizeGripEnabled" > |
| 19 | + <property name="sizeGripEnabled"> |
19 | 20 | <bool>true</bool>
|
20 | 21 | </property>
|
21 |
| - <layout class="QGridLayout" name="gridLayout_2" > |
22 |
| - <item row="0" column="0" colspan="2" > |
23 |
| - <widget class="QGroupBox" name="groupBox" > |
24 |
| - <property name="title" > |
| 22 | + <layout class="QGridLayout" name="gridLayout_2"> |
| 23 | + <item row="0" column="0" colspan="2"> |
| 24 | + <widget class="QGroupBox" name="groupBox"> |
| 25 | + <property name="title"> |
25 | 26 | <string>Grid extent</string>
|
26 | 27 | </property>
|
27 |
| - <layout class="QGridLayout" name="gridLayout" > |
28 |
| - <item row="0" column="0" colspan="2" > |
29 |
| - <widget class="QComboBox" name="inShape" /> |
| 28 | + <layout class="QGridLayout" name="gridLayout"> |
| 29 | + <item row="0" column="0" colspan="2"> |
| 30 | + <widget class="QComboBox" name="inShape"/> |
30 | 31 | </item>
|
31 |
| - <item row="1" column="0" > |
32 |
| - <widget class="QToolButton" name="btnUpdate" > |
33 |
| - <property name="minimumSize" > |
| 32 | + <item row="1" column="0"> |
| 33 | + <widget class="QToolButton" name="btnUpdate"> |
| 34 | + <property name="minimumSize"> |
34 | 35 | <size>
|
35 | 36 | <width>0</width>
|
36 | 37 | <height>30</height>
|
37 | 38 | </size>
|
38 | 39 | </property>
|
39 |
| - <property name="text" > |
| 40 | + <property name="text"> |
40 | 41 | <string>Update extents from layer</string>
|
41 | 42 | </property>
|
42 | 43 | </widget>
|
43 | 44 | </item>
|
44 |
| - <item row="1" column="1" > |
45 |
| - <widget class="QToolButton" name="btnCanvas" > |
46 |
| - <property name="minimumSize" > |
| 45 | + <item row="1" column="1"> |
| 46 | + <widget class="QToolButton" name="btnCanvas"> |
| 47 | + <property name="minimumSize"> |
47 | 48 | <size>
|
48 | 49 | <width>0</width>
|
49 | 50 | <height>30</height>
|
50 | 51 | </size>
|
51 | 52 | </property>
|
52 |
| - <property name="text" > |
| 53 | + <property name="text"> |
53 | 54 | <string>Update extents from canvas</string>
|
54 | 55 | </property>
|
55 | 56 | </widget>
|
56 | 57 | </item>
|
57 |
| - <item row="2" column="0" > |
58 |
| - <layout class="QHBoxLayout" > |
| 58 | + <item row="2" column="0"> |
| 59 | + <layout class="QHBoxLayout"> |
59 | 60 | <item>
|
60 |
| - <widget class="QLabel" name="label" > |
61 |
| - <property name="enabled" > |
| 61 | + <widget class="QLabel" name="label"> |
| 62 | + <property name="enabled"> |
62 | 63 | <bool>true</bool>
|
63 | 64 | </property>
|
64 |
| - <property name="text" > |
| 65 | + <property name="text"> |
65 | 66 | <string>X Min</string>
|
66 | 67 | </property>
|
67 | 68 | </widget>
|
68 | 69 | </item>
|
69 | 70 | <item>
|
70 |
| - <widget class="QLineEdit" name="xMin" > |
71 |
| - <property name="enabled" > |
| 71 | + <widget class="QLineEdit" name="xMin"> |
| 72 | + <property name="enabled"> |
72 | 73 | <bool>true</bool>
|
73 | 74 | </property>
|
74 |
| - <property name="inputMask" > |
| 75 | + <property name="inputMask"> |
75 | 76 | <string/>
|
76 | 77 | </property>
|
77 |
| - <property name="text" > |
| 78 | + <property name="text"> |
78 | 79 | <string/>
|
79 | 80 | </property>
|
80 | 81 | </widget>
|
81 | 82 | </item>
|
82 | 83 | </layout>
|
83 | 84 | </item>
|
84 |
| - <item row="2" column="1" > |
85 |
| - <layout class="QHBoxLayout" > |
| 85 | + <item row="2" column="1"> |
| 86 | + <layout class="QHBoxLayout"> |
86 | 87 | <item>
|
87 |
| - <widget class="QLabel" name="label_4" > |
88 |
| - <property name="enabled" > |
| 88 | + <widget class="QLabel" name="label_4"> |
| 89 | + <property name="enabled"> |
89 | 90 | <bool>true</bool>
|
90 | 91 | </property>
|
91 |
| - <property name="text" > |
| 92 | + <property name="text"> |
92 | 93 | <string>Y Min</string>
|
93 | 94 | </property>
|
94 | 95 | </widget>
|
95 | 96 | </item>
|
96 | 97 | <item>
|
97 |
| - <widget class="QLineEdit" name="yMin" > |
98 |
| - <property name="enabled" > |
| 98 | + <widget class="QLineEdit" name="yMin"> |
| 99 | + <property name="enabled"> |
99 | 100 | <bool>true</bool>
|
100 | 101 | </property>
|
101 |
| - <property name="inputMask" > |
| 102 | + <property name="inputMask"> |
102 | 103 | <string/>
|
103 | 104 | </property>
|
104 |
| - <property name="text" > |
| 105 | + <property name="text"> |
105 | 106 | <string/>
|
106 | 107 | </property>
|
107 | 108 | </widget>
|
108 | 109 | </item>
|
109 | 110 | </layout>
|
110 | 111 | </item>
|
111 |
| - <item row="3" column="0" > |
112 |
| - <layout class="QHBoxLayout" > |
| 112 | + <item row="3" column="0"> |
| 113 | + <layout class="QHBoxLayout"> |
113 | 114 | <item>
|
114 |
| - <widget class="QLabel" name="label_3" > |
115 |
| - <property name="enabled" > |
| 115 | + <widget class="QLabel" name="label_3"> |
| 116 | + <property name="enabled"> |
116 | 117 | <bool>true</bool>
|
117 | 118 | </property>
|
118 |
| - <property name="text" > |
| 119 | + <property name="text"> |
119 | 120 | <string>X Max</string>
|
120 | 121 | </property>
|
121 | 122 | </widget>
|
122 | 123 | </item>
|
123 | 124 | <item>
|
124 |
| - <widget class="QLineEdit" name="xMax" > |
125 |
| - <property name="enabled" > |
| 125 | + <widget class="QLineEdit" name="xMax"> |
| 126 | + <property name="enabled"> |
126 | 127 | <bool>true</bool>
|
127 | 128 | </property>
|
128 |
| - <property name="inputMask" > |
| 129 | + <property name="inputMask"> |
129 | 130 | <string/>
|
130 | 131 | </property>
|
131 |
| - <property name="text" > |
| 132 | + <property name="text"> |
132 | 133 | <string/>
|
133 | 134 | </property>
|
134 | 135 | </widget>
|
135 | 136 | </item>
|
136 | 137 | </layout>
|
137 | 138 | </item>
|
138 |
| - <item row="3" column="1" > |
139 |
| - <layout class="QHBoxLayout" > |
| 139 | + <item row="3" column="1"> |
| 140 | + <layout class="QHBoxLayout"> |
140 | 141 | <item>
|
141 |
| - <widget class="QLabel" name="label_5" > |
142 |
| - <property name="enabled" > |
| 142 | + <widget class="QLabel" name="label_5"> |
| 143 | + <property name="enabled"> |
143 | 144 | <bool>true</bool>
|
144 | 145 | </property>
|
145 |
| - <property name="text" > |
| 146 | + <property name="text"> |
146 | 147 | <string>Y Max</string>
|
147 | 148 | </property>
|
148 | 149 | </widget>
|
149 | 150 | </item>
|
150 | 151 | <item>
|
151 |
| - <widget class="QLineEdit" name="yMax" > |
152 |
| - <property name="enabled" > |
| 152 | + <widget class="QLineEdit" name="yMax"> |
| 153 | + <property name="enabled"> |
153 | 154 | <bool>true</bool>
|
154 | 155 | </property>
|
155 |
| - <property name="inputMask" > |
| 156 | + <property name="inputMask"> |
156 | 157 | <string/>
|
157 | 158 | </property>
|
158 |
| - <property name="text" > |
| 159 | + <property name="text"> |
159 | 160 | <string/>
|
160 | 161 | </property>
|
161 | 162 | </widget>
|
|
165 | 166 | </layout>
|
166 | 167 | </widget>
|
167 | 168 | </item>
|
168 |
| - <item row="1" column="0" colspan="2" > |
169 |
| - <widget class="QGroupBox" name="gridBox" > |
170 |
| - <property name="title" > |
| 169 | + <item row="1" column="0" colspan="2"> |
| 170 | + <widget class="QGroupBox" name="gridBox"> |
| 171 | + <property name="title"> |
171 | 172 | <string>Parameters</string>
|
172 | 173 | </property>
|
173 |
| - <layout class="QGridLayout" > |
174 |
| - <item row="0" column="0" > |
| 174 | + <layout class="QGridLayout"> |
| 175 | + <item row="0" column="0"> |
175 | 176 | <spacer>
|
176 |
| - <property name="orientation" > |
| 177 | + <property name="orientation"> |
177 | 178 | <enum>Qt::Horizontal</enum>
|
178 | 179 | </property>
|
179 |
| - <property name="sizeHint" stdset="0" > |
| 180 | + <property name="sizeHint" stdset="0"> |
180 | 181 | <size>
|
181 | 182 | <width>40</width>
|
182 | 183 | <height>20</height>
|
183 | 184 | </size>
|
184 | 185 | </property>
|
185 | 186 | </spacer>
|
186 | 187 | </item>
|
187 |
| - <item row="0" column="1" > |
188 |
| - <widget class="QLabel" name="label_7" > |
189 |
| - <property name="text" > |
| 188 | + <item row="0" column="1"> |
| 189 | + <widget class="QLabel" name="label_7"> |
| 190 | + <property name="text"> |
190 | 191 | <string>X</string>
|
191 | 192 | </property>
|
192 | 193 | </widget>
|
193 | 194 | </item>
|
194 |
| - <item row="0" column="2" > |
195 |
| - <widget class="QDoubleSpinBox" name="spnX" > |
196 |
| - <property name="decimals" > |
| 195 | + <item row="0" column="2"> |
| 196 | + <widget class="QDoubleSpinBox" name="spnX"> |
| 197 | + <property name="decimals"> |
197 | 198 | <number>4</number>
|
198 | 199 | </property>
|
199 |
| - <property name="minimum" > |
| 200 | + <property name="minimum"> |
200 | 201 | <double>0.000100000000000</double>
|
201 | 202 | </property>
|
202 |
| - <property name="maximum" > |
203 |
| - <double>999999999.000000000000000</double> |
| 203 | + <property name="maximum"> |
| 204 | + <double>1000000000.000000000000000</double> |
204 | 205 | </property>
|
205 |
| - <property name="singleStep" > |
| 206 | + <property name="singleStep"> |
206 | 207 | <double>0.000100000000000</double>
|
207 | 208 | </property>
|
208 | 209 | </widget>
|
209 | 210 | </item>
|
210 |
| - <item rowspan="2" row="0" column="3" > |
211 |
| - <widget class="QCheckBox" name="chkLock" > |
212 |
| - <property name="text" > |
| 211 | + <item row="0" column="3" rowspan="2"> |
| 212 | + <widget class="QCheckBox" name="chkLock"> |
| 213 | + <property name="text"> |
213 | 214 | <string>Lock 1:1 ratio</string>
|
214 | 215 | </property>
|
215 |
| - <property name="checked" > |
| 216 | + <property name="checked"> |
216 | 217 | <bool>true</bool>
|
217 | 218 | </property>
|
218 | 219 | </widget>
|
219 | 220 | </item>
|
220 |
| - <item row="0" column="4" > |
| 221 | + <item row="0" column="4"> |
221 | 222 | <spacer>
|
222 |
| - <property name="orientation" > |
| 223 | + <property name="orientation"> |
223 | 224 | <enum>Qt::Horizontal</enum>
|
224 | 225 | </property>
|
225 |
| - <property name="sizeHint" stdset="0" > |
| 226 | + <property name="sizeHint" stdset="0"> |
226 | 227 | <size>
|
227 | 228 | <width>40</width>
|
228 | 229 | <height>20</height>
|
229 | 230 | </size>
|
230 | 231 | </property>
|
231 | 232 | </spacer>
|
232 | 233 | </item>
|
233 |
| - <item row="1" column="0" > |
| 234 | + <item row="1" column="0"> |
234 | 235 | <spacer>
|
235 |
| - <property name="orientation" > |
| 236 | + <property name="orientation"> |
236 | 237 | <enum>Qt::Horizontal</enum>
|
237 | 238 | </property>
|
238 |
| - <property name="sizeHint" stdset="0" > |
| 239 | + <property name="sizeHint" stdset="0"> |
239 | 240 | <size>
|
240 | 241 | <width>40</width>
|
241 | 242 | <height>20</height>
|
242 | 243 | </size>
|
243 | 244 | </property>
|
244 | 245 | </spacer>
|
245 | 246 | </item>
|
246 |
| - <item row="1" column="1" > |
247 |
| - <widget class="QLabel" name="label_8" > |
248 |
| - <property name="enabled" > |
| 247 | + <item row="1" column="1"> |
| 248 | + <widget class="QLabel" name="label_8"> |
| 249 | + <property name="enabled"> |
249 | 250 | <bool>false</bool>
|
250 | 251 | </property>
|
251 |
| - <property name="text" > |
| 252 | + <property name="text"> |
252 | 253 | <string>Y</string>
|
253 | 254 | </property>
|
254 | 255 | </widget>
|
255 | 256 | </item>
|
256 |
| - <item row="1" column="2" > |
257 |
| - <widget class="QDoubleSpinBox" name="spnY" > |
258 |
| - <property name="enabled" > |
| 257 | + <item row="1" column="2"> |
| 258 | + <widget class="QDoubleSpinBox" name="spnY"> |
| 259 | + <property name="enabled"> |
259 | 260 | <bool>false</bool>
|
260 | 261 | </property>
|
261 |
| - <property name="decimals" > |
| 262 | + <property name="decimals"> |
262 | 263 | <number>4</number>
|
263 | 264 | </property>
|
264 |
| - <property name="minimum" > |
| 265 | + <property name="minimum"> |
265 | 266 | <double>0.000100000000000</double>
|
266 | 267 | </property>
|
267 |
| - <property name="maximum" > |
268 |
| - <double>999999999.000000000000000</double> |
| 268 | + <property name="maximum"> |
| 269 | + <double>1000000000.000000000000000</double> |
269 | 270 | </property>
|
270 |
| - <property name="singleStep" > |
| 271 | + <property name="singleStep"> |
271 | 272 | <double>0.000100000000000</double>
|
272 | 273 | </property>
|
273 | 274 | </widget>
|
274 | 275 | </item>
|
275 |
| - <item row="2" column="0" colspan="3" > |
276 |
| - <widget class="QRadioButton" name="rdoPolygons" > |
277 |
| - <property name="text" > |
| 276 | + <item row="2" column="0" colspan="3"> |
| 277 | + <widget class="QRadioButton" name="rdoPolygons"> |
| 278 | + <property name="text"> |
278 | 279 | <string>Output grid as polygons</string>
|
279 | 280 | </property>
|
280 |
| - <property name="checked" > |
| 281 | + <property name="checked"> |
281 | 282 | <bool>true</bool>
|
282 | 283 | </property>
|
283 | 284 | </widget>
|
284 | 285 | </item>
|
285 |
| - <item row="3" column="0" colspan="3" > |
286 |
| - <widget class="QRadioButton" name="rdoLines" > |
287 |
| - <property name="text" > |
| 286 | + <item row="3" column="0" colspan="3"> |
| 287 | + <widget class="QRadioButton" name="rdoLines"> |
| 288 | + <property name="text"> |
288 | 289 | <string>Output grid as lines</string>
|
289 | 290 | </property>
|
290 | 291 | </widget>
|
291 | 292 | </item>
|
292 | 293 | </layout>
|
293 | 294 | </widget>
|
294 | 295 | </item>
|
295 |
| - <item row="2" column="0" > |
296 |
| - <widget class="QLabel" name="label_2" > |
297 |
| - <property name="sizePolicy" > |
298 |
| - <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > |
| 296 | + <item row="2" column="0"> |
| 297 | + <widget class="QLabel" name="label_2"> |
| 298 | + <property name="sizePolicy"> |
| 299 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
299 | 300 | <horstretch>0</horstretch>
|
300 | 301 | <verstretch>0</verstretch>
|
301 | 302 | </sizepolicy>
|
302 | 303 | </property>
|
303 |
| - <property name="text" > |
| 304 | + <property name="text"> |
304 | 305 | <string>Output shapefile</string>
|
305 | 306 | </property>
|
306 | 307 | </widget>
|
307 | 308 | </item>
|
308 |
| - <item row="3" column="0" colspan="2" > |
309 |
| - <layout class="QHBoxLayout" > |
| 309 | + <item row="3" column="0" colspan="2"> |
| 310 | + <layout class="QHBoxLayout"> |
310 | 311 | <item>
|
311 |
| - <widget class="QLineEdit" name="outShape" > |
312 |
| - <property name="readOnly" > |
| 312 | + <widget class="QLineEdit" name="outShape"> |
| 313 | + <property name="readOnly"> |
313 | 314 | <bool>true</bool>
|
314 | 315 | </property>
|
315 | 316 | </widget>
|
316 | 317 | </item>
|
317 | 318 | <item>
|
318 |
| - <widget class="QToolButton" name="toolOut" > |
319 |
| - <property name="text" > |
| 319 | + <widget class="QToolButton" name="toolOut"> |
| 320 | + <property name="text"> |
320 | 321 | <string>Browse</string>
|
321 | 322 | </property>
|
322 | 323 | </widget>
|
323 | 324 | </item>
|
324 | 325 | </layout>
|
325 | 326 | </item>
|
326 |
| - <item row="4" column="0" > |
327 |
| - <widget class="QProgressBar" name="progressBar" > |
328 |
| - <property name="value" > |
| 327 | + <item row="4" column="0"> |
| 328 | + <widget class="QProgressBar" name="progressBar"> |
| 329 | + <property name="value"> |
329 | 330 | <number>0</number>
|
330 | 331 | </property>
|
331 |
| - <property name="alignment" > |
| 332 | + <property name="alignment"> |
332 | 333 | <set>Qt::AlignCenter</set>
|
333 | 334 | </property>
|
334 |
| - <property name="textVisible" > |
| 335 | + <property name="textVisible"> |
335 | 336 | <bool>true</bool>
|
336 | 337 | </property>
|
337 | 338 | </widget>
|
338 | 339 | </item>
|
339 |
| - <item row="4" column="1" > |
340 |
| - <widget class="QDialogButtonBox" name="buttonBox_2" > |
341 |
| - <property name="orientation" > |
| 340 | + <item row="4" column="1"> |
| 341 | + <widget class="QDialogButtonBox" name="buttonBox_2"> |
| 342 | + <property name="orientation"> |
342 | 343 | <enum>Qt::Horizontal</enum>
|
343 | 344 | </property>
|
344 |
| - <property name="standardButtons" > |
| 345 | + <property name="standardButtons"> |
345 | 346 | <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
|
346 | 347 | </property>
|
347 | 348 | </widget>
|
|
356 | 357 | <receiver>Dialog</receiver>
|
357 | 358 | <slot>accept()</slot>
|
358 | 359 | <hints>
|
359 |
| - <hint type="sourcelabel" > |
| 360 | + <hint type="sourcelabel"> |
360 | 361 | <x>330</x>
|
361 | 362 | <y>449</y>
|
362 | 363 | </hint>
|
363 |
| - <hint type="destinationlabel" > |
| 364 | + <hint type="destinationlabel"> |
364 | 365 | <x>215</x>
|
365 | 366 | <y>290</y>
|
366 | 367 | </hint>
|
|
372 | 373 | <receiver>Dialog</receiver>
|
373 | 374 | <slot>close()</slot>
|
374 | 375 | <hints>
|
375 |
| - <hint type="sourcelabel" > |
| 376 | + <hint type="sourcelabel"> |
376 | 377 | <x>256</x>
|
377 | 378 | <y>449</y>
|
378 | 379 | </hint>
|
379 |
| - <hint type="destinationlabel" > |
| 380 | + <hint type="destinationlabel"> |
380 | 381 | <x>132</x>
|
381 | 382 | <y>239</y>
|
382 | 383 | </hint>
|
|
388 | 389 | <receiver>spnY</receiver>
|
389 | 390 | <slot>setDisabled(bool)</slot>
|
390 | 391 | <hints>
|
391 |
| - <hint type="sourcelabel" > |
| 392 | + <hint type="sourcelabel"> |
392 | 393 | <x>279</x>
|
393 | 394 | <y>244</y>
|
394 | 395 | </hint>
|
395 |
| - <hint type="destinationlabel" > |
| 396 | + <hint type="destinationlabel"> |
396 | 397 | <x>164</x>
|
397 | 398 | <y>280</y>
|
398 | 399 | </hint>
|
|
404 | 405 | <receiver>label_8</receiver>
|
405 | 406 | <slot>setDisabled(bool)</slot>
|
406 | 407 | <hints>
|
407 |
| - <hint type="sourcelabel" > |
| 408 | + <hint type="sourcelabel"> |
408 | 409 | <x>302</x>
|
409 | 410 | <y>261</y>
|
410 | 411 | </hint>
|
411 |
| - <hint type="destinationlabel" > |
| 412 | + <hint type="destinationlabel"> |
412 | 413 | <x>73</x>
|
413 | 414 | <y>280</y>
|
414 | 415 | </hint>
|
|
0 commit comments