Skip to content

Commit a1b22f5

Browse files
author
cfarmer
committedFeb 7, 2010
update maximum grid spacing for regular points tool (fixes #2404).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12893 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

2 files changed

+242
-240
lines changed

2 files changed

+242
-240
lines changed
 

‎python/plugins/fTools/tools/frmRegPoints.ui

Lines changed: 108 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,237 +1,238 @@
1-
<ui version="4.0" >
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ui version="4.0">
23
<class>Dialog</class>
3-
<widget class="QDialog" name="Dialog" >
4-
<property name="windowModality" >
4+
<widget class="QDialog" name="Dialog">
5+
<property name="windowModality">
56
<enum>Qt::NonModal</enum>
67
</property>
7-
<property name="geometry" >
8+
<property name="geometry">
89
<rect>
910
<x>0</x>
1011
<y>0</y>
1112
<width>373</width>
1213
<height>451</height>
1314
</rect>
1415
</property>
15-
<property name="windowTitle" >
16+
<property name="windowTitle">
1617
<string>Generate Regular Points</string>
1718
</property>
18-
<property name="sizeGripEnabled" >
19+
<property name="sizeGripEnabled">
1920
<bool>true</bool>
2021
</property>
21-
<layout class="QGridLayout" name="gridLayout" >
22-
<item row="0" column="0" >
23-
<widget class="QRadioButton" name="rdoBoundary" >
24-
<property name="text" >
22+
<layout class="QGridLayout" name="gridLayout">
23+
<item row="0" column="0">
24+
<widget class="QRadioButton" name="rdoBoundary">
25+
<property name="text">
2526
<string>Input Boundary Layer</string>
2627
</property>
27-
<property name="checked" >
28+
<property name="checked">
2829
<bool>true</bool>
2930
</property>
3031
</widget>
3132
</item>
32-
<item row="1" column="0" colspan="2" >
33-
<widget class="QComboBox" name="inShape" />
33+
<item row="1" column="0" colspan="2">
34+
<widget class="QComboBox" name="inShape"/>
3435
</item>
35-
<item row="2" column="0" >
36-
<widget class="QRadioButton" name="rdoCoordinates" >
37-
<property name="text" >
36+
<item row="2" column="0">
37+
<widget class="QRadioButton" name="rdoCoordinates">
38+
<property name="text">
3839
<string>Input Coordinates</string>
3940
</property>
4041
</widget>
4142
</item>
42-
<item row="3" column="0" >
43-
<layout class="QHBoxLayout" >
43+
<item row="3" column="0">
44+
<layout class="QHBoxLayout">
4445
<item>
45-
<widget class="QLabel" name="label" >
46-
<property name="text" >
46+
<widget class="QLabel" name="label">
47+
<property name="text">
4748
<string>X Min</string>
4849
</property>
4950
</widget>
5051
</item>
5152
<item>
52-
<widget class="QLineEdit" name="xMin" />
53+
<widget class="QLineEdit" name="xMin"/>
5354
</item>
5455
</layout>
5556
</item>
56-
<item row="3" column="1" >
57-
<layout class="QHBoxLayout" >
57+
<item row="3" column="1">
58+
<layout class="QHBoxLayout">
5859
<item>
59-
<widget class="QLabel" name="label_4" >
60-
<property name="text" >
60+
<widget class="QLabel" name="label_4">
61+
<property name="text">
6162
<string>Y Min</string>
6263
</property>
6364
</widget>
6465
</item>
6566
<item>
66-
<widget class="QLineEdit" name="yMin" />
67+
<widget class="QLineEdit" name="yMin"/>
6768
</item>
6869
</layout>
6970
</item>
70-
<item row="4" column="0" >
71-
<layout class="QHBoxLayout" >
71+
<item row="4" column="0">
72+
<layout class="QHBoxLayout">
7273
<item>
73-
<widget class="QLabel" name="label_3" >
74-
<property name="text" >
74+
<widget class="QLabel" name="label_3">
75+
<property name="text">
7576
<string>X Max</string>
7677
</property>
7778
</widget>
7879
</item>
7980
<item>
80-
<widget class="QLineEdit" name="xMax" />
81+
<widget class="QLineEdit" name="xMax"/>
8182
</item>
8283
</layout>
8384
</item>
84-
<item row="4" column="1" >
85-
<layout class="QHBoxLayout" >
85+
<item row="4" column="1">
86+
<layout class="QHBoxLayout">
8687
<item>
87-
<widget class="QLabel" name="label_5" >
88-
<property name="text" >
88+
<widget class="QLabel" name="label_5">
89+
<property name="text">
8990
<string>Y Max</string>
9091
</property>
9192
</widget>
9293
</item>
9394
<item>
94-
<widget class="QLineEdit" name="yMax" />
95+
<widget class="QLineEdit" name="yMax"/>
9596
</item>
9697
</layout>
9798
</item>
98-
<item row="5" column="0" colspan="2" >
99-
<widget class="QGroupBox" name="gridBox" >
100-
<property name="title" >
99+
<item row="5" column="0" colspan="2">
100+
<widget class="QGroupBox" name="gridBox">
101+
<property name="title">
101102
<string>Grid Spacing</string>
102103
</property>
103-
<layout class="QGridLayout" >
104-
<item row="0" column="0" colspan="2" >
105-
<layout class="QHBoxLayout" >
104+
<layout class="QGridLayout">
105+
<item row="0" column="0" colspan="2">
106+
<layout class="QHBoxLayout">
106107
<item>
107-
<widget class="QRadioButton" name="rdoSpacing" >
108-
<property name="text" >
108+
<widget class="QRadioButton" name="rdoSpacing">
109+
<property name="text">
109110
<string>Use this point spacing</string>
110111
</property>
111-
<property name="checked" >
112+
<property name="checked">
112113
<bool>true</bool>
113114
</property>
114115
</widget>
115116
</item>
116117
<item>
117-
<widget class="QDoubleSpinBox" name="spnSpacing" >
118-
<property name="decimals" >
118+
<widget class="QDoubleSpinBox" name="spnSpacing">
119+
<property name="decimals">
119120
<number>4</number>
120121
</property>
121-
<property name="minimum" >
122+
<property name="minimum">
122123
<double>0.000100000000000</double>
123124
</property>
124-
<property name="maximum" >
125-
<double>9999.000000000000000</double>
125+
<property name="maximum">
126+
<double>1000000000.000000000000000</double>
126127
</property>
127-
<property name="singleStep" >
128+
<property name="singleStep">
128129
<double>0.000100000000000</double>
129130
</property>
130131
</widget>
131132
</item>
132133
</layout>
133134
</item>
134-
<item row="1" column="0" colspan="2" >
135-
<layout class="QHBoxLayout" >
135+
<item row="1" column="0" colspan="2">
136+
<layout class="QHBoxLayout">
136137
<item>
137-
<widget class="QRadioButton" name="rdoNumber" >
138-
<property name="text" >
138+
<widget class="QRadioButton" name="rdoNumber">
139+
<property name="text">
139140
<string>Use this number of points</string>
140141
</property>
141142
</widget>
142143
</item>
143144
<item>
144-
<widget class="QSpinBox" name="spnNumber" >
145-
<property name="minimum" >
145+
<widget class="QSpinBox" name="spnNumber">
146+
<property name="minimum">
146147
<number>1</number>
147148
</property>
148-
<property name="maximum" >
149+
<property name="maximum">
149150
<number>9999</number>
150151
</property>
151152
</widget>
152153
</item>
153154
</layout>
154155
</item>
155-
<item row="2" column="0" colspan="2" >
156-
<widget class="QCheckBox" name="chkRandom" >
157-
<property name="text" >
156+
<item row="2" column="0" colspan="2">
157+
<widget class="QCheckBox" name="chkRandom">
158+
<property name="text">
158159
<string>Apply random offset to point spacing</string>
159160
</property>
160161
</widget>
161162
</item>
162-
<item row="3" column="1" >
163-
<widget class="QDoubleSpinBox" name="spnInset" >
164-
<property name="decimals" >
163+
<item row="3" column="1">
164+
<widget class="QDoubleSpinBox" name="spnInset">
165+
<property name="decimals">
165166
<number>4</number>
166167
</property>
167-
<property name="maximum" >
168+
<property name="maximum">
168169
<double>9999.000000000000000</double>
169170
</property>
170-
<property name="singleStep" >
171+
<property name="singleStep">
171172
<double>0.000100000000000</double>
172173
</property>
173174
</widget>
174175
</item>
175-
<item row="3" column="0" >
176-
<widget class="QLabel" name="label_6" >
177-
<property name="text" >
176+
<item row="3" column="0">
177+
<widget class="QLabel" name="label_6">
178+
<property name="text">
178179
<string>Initial inset from corner (LH side)</string>
179180
</property>
180181
</widget>
181182
</item>
182183
</layout>
183184
</widget>
184185
</item>
185-
<item row="6" column="0" >
186-
<widget class="QLabel" name="label_2" >
187-
<property name="sizePolicy" >
188-
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
186+
<item row="6" column="0">
187+
<widget class="QLabel" name="label_2">
188+
<property name="sizePolicy">
189+
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
189190
<horstretch>0</horstretch>
190191
<verstretch>0</verstretch>
191192
</sizepolicy>
192193
</property>
193-
<property name="text" >
194+
<property name="text">
194195
<string>Output Shapefile</string>
195196
</property>
196197
</widget>
197198
</item>
198-
<item row="7" column="0" colspan="2" >
199-
<layout class="QHBoxLayout" >
199+
<item row="7" column="0" colspan="2">
200+
<layout class="QHBoxLayout">
200201
<item>
201-
<widget class="QLineEdit" name="outShape" >
202-
<property name="readOnly" >
202+
<widget class="QLineEdit" name="outShape">
203+
<property name="readOnly">
203204
<bool>true</bool>
204205
</property>
205206
</widget>
206207
</item>
207208
<item>
208-
<widget class="QToolButton" name="toolOut" >
209-
<property name="text" >
209+
<widget class="QToolButton" name="toolOut">
210+
<property name="text">
210211
<string>Browse</string>
211212
</property>
212213
</widget>
213214
</item>
214215
</layout>
215216
</item>
216-
<item row="8" column="0" >
217-
<widget class="QProgressBar" name="progressBar" >
218-
<property name="value" >
217+
<item row="8" column="0">
218+
<widget class="QProgressBar" name="progressBar">
219+
<property name="value">
219220
<number>0</number>
220221
</property>
221-
<property name="alignment" >
222+
<property name="alignment">
222223
<set>Qt::AlignCenter</set>
223224
</property>
224-
<property name="textVisible" >
225+
<property name="textVisible">
225226
<bool>true</bool>
226227
</property>
227228
</widget>
228229
</item>
229-
<item row="8" column="1" >
230-
<widget class="QDialogButtonBox" name="buttonBox_2" >
231-
<property name="orientation" >
230+
<item row="8" column="1">
231+
<widget class="QDialogButtonBox" name="buttonBox_2">
232+
<property name="orientation">
232233
<enum>Qt::Horizontal</enum>
233234
</property>
234-
<property name="standardButtons" >
235+
<property name="standardButtons">
235236
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
236237
</property>
237238
</widget>
@@ -246,11 +247,11 @@
246247
<receiver>Dialog</receiver>
247248
<slot>accept()</slot>
248249
<hints>
249-
<hint type="sourcelabel" >
250+
<hint type="sourcelabel">
250251
<x>142</x>
251252
<y>444</y>
252253
</hint>
253-
<hint type="destinationlabel" >
254+
<hint type="destinationlabel">
254255
<x>215</x>
255256
<y>290</y>
256257
</hint>
@@ -262,11 +263,11 @@
262263
<receiver>Dialog</receiver>
263264
<slot>close()</slot>
264265
<hints>
265-
<hint type="sourcelabel" >
266+
<hint type="sourcelabel">
266267
<x>68</x>
267268
<y>444</y>
268269
</hint>
269-
<hint type="destinationlabel" >
270+
<hint type="destinationlabel">
270271
<x>132</x>
271272
<y>239</y>
272273
</hint>
@@ -278,11 +279,11 @@
278279
<receiver>inShape</receiver>
279280
<slot>setEnabled(bool)</slot>
280281
<hints>
281-
<hint type="sourcelabel" >
282+
<hint type="sourcelabel">
282283
<x>105</x>
283284
<y>26</y>
284285
</hint>
285-
<hint type="destinationlabel" >
286+
<hint type="destinationlabel">
286287
<x>103</x>
287288
<y>51</y>
288289
</hint>
@@ -294,11 +295,11 @@
294295
<receiver>xMin</receiver>
295296
<slot>setEnabled(bool)</slot>
296297
<hints>
297-
<hint type="sourcelabel" >
298+
<hint type="sourcelabel">
298299
<x>37</x>
299300
<y>84</y>
300301
</hint>
301-
<hint type="destinationlabel" >
302+
<hint type="destinationlabel">
302303
<x>58</x>
303304
<y>115</y>
304305
</hint>
@@ -310,11 +311,11 @@
310311
<receiver>xMax</receiver>
311312
<slot>setEnabled(bool)</slot>
312313
<hints>
313-
<hint type="sourcelabel" >
314+
<hint type="sourcelabel">
314315
<x>19</x>
315316
<y>82</y>
316317
</hint>
317-
<hint type="destinationlabel" >
318+
<hint type="destinationlabel">
318319
<x>69</x>
319320
<y>146</y>
320321
</hint>
@@ -326,11 +327,11 @@
326327
<receiver>yMin</receiver>
327328
<slot>setEnabled(bool)</slot>
328329
<hints>
329-
<hint type="sourcelabel" >
330+
<hint type="sourcelabel">
330331
<x>82</x>
331332
<y>83</y>
332333
</hint>
333-
<hint type="destinationlabel" >
334+
<hint type="destinationlabel">
334335
<x>238</x>
335336
<y>110</y>
336337
</hint>
@@ -342,11 +343,11 @@
342343
<receiver>yMax</receiver>
343344
<slot>setEnabled(bool)</slot>
344345
<hints>
345-
<hint type="sourcelabel" >
346+
<hint type="sourcelabel">
346347
<x>58</x>
347348
<y>88</y>
348349
</hint>
349-
<hint type="destinationlabel" >
350+
<hint type="destinationlabel">
350351
<x>239</x>
351352
<y>149</y>
352353
</hint>
@@ -358,11 +359,11 @@
358359
<receiver>spnSpacing</receiver>
359360
<slot>setEnabled(bool)</slot>
360361
<hints>
361-
<hint type="sourcelabel" >
362+
<hint type="sourcelabel">
362363
<x>107</x>
363364
<y>207</y>
364365
</hint>
365-
<hint type="destinationlabel" >
366+
<hint type="destinationlabel">
366367
<x>213</x>
367368
<y>210</y>
368369
</hint>
@@ -374,11 +375,11 @@
374375
<receiver>spnNumber</receiver>
375376
<slot>setEnabled(bool)</slot>
376377
<hints>
377-
<hint type="sourcelabel" >
378+
<hint type="sourcelabel">
378379
<x>100</x>
379380
<y>244</y>
380381
</hint>
381-
<hint type="destinationlabel" >
382+
<hint type="destinationlabel">
382383
<x>209</x>
383384
<y>243</y>
384385
</hint>

‎python/plugins/fTools/tools/frmVectorGrid.ui

Lines changed: 134 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -1,161 +1,162 @@
1-
<ui version="4.0" >
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ui version="4.0">
23
<class>Dialog</class>
3-
<widget class="QDialog" name="Dialog" >
4-
<property name="windowModality" >
4+
<widget class="QDialog" name="Dialog">
5+
<property name="windowModality">
56
<enum>Qt::NonModal</enum>
67
</property>
7-
<property name="geometry" >
8+
<property name="geometry">
89
<rect>
910
<x>0</x>
1011
<y>0</y>
11-
<width>369</width>
12+
<width>377</width>
1213
<height>459</height>
1314
</rect>
1415
</property>
15-
<property name="windowTitle" >
16-
<string>Generate Regular Points</string>
16+
<property name="windowTitle">
17+
<string>Generate Vector Grid</string>
1718
</property>
18-
<property name="sizeGripEnabled" >
19+
<property name="sizeGripEnabled">
1920
<bool>true</bool>
2021
</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">
2526
<string>Grid extent</string>
2627
</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"/>
3031
</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">
3435
<size>
3536
<width>0</width>
3637
<height>30</height>
3738
</size>
3839
</property>
39-
<property name="text" >
40+
<property name="text">
4041
<string>Update extents from layer</string>
4142
</property>
4243
</widget>
4344
</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">
4748
<size>
4849
<width>0</width>
4950
<height>30</height>
5051
</size>
5152
</property>
52-
<property name="text" >
53+
<property name="text">
5354
<string>Update extents from canvas</string>
5455
</property>
5556
</widget>
5657
</item>
57-
<item row="2" column="0" >
58-
<layout class="QHBoxLayout" >
58+
<item row="2" column="0">
59+
<layout class="QHBoxLayout">
5960
<item>
60-
<widget class="QLabel" name="label" >
61-
<property name="enabled" >
61+
<widget class="QLabel" name="label">
62+
<property name="enabled">
6263
<bool>true</bool>
6364
</property>
64-
<property name="text" >
65+
<property name="text">
6566
<string>X Min</string>
6667
</property>
6768
</widget>
6869
</item>
6970
<item>
70-
<widget class="QLineEdit" name="xMin" >
71-
<property name="enabled" >
71+
<widget class="QLineEdit" name="xMin">
72+
<property name="enabled">
7273
<bool>true</bool>
7374
</property>
74-
<property name="inputMask" >
75+
<property name="inputMask">
7576
<string/>
7677
</property>
77-
<property name="text" >
78+
<property name="text">
7879
<string/>
7980
</property>
8081
</widget>
8182
</item>
8283
</layout>
8384
</item>
84-
<item row="2" column="1" >
85-
<layout class="QHBoxLayout" >
85+
<item row="2" column="1">
86+
<layout class="QHBoxLayout">
8687
<item>
87-
<widget class="QLabel" name="label_4" >
88-
<property name="enabled" >
88+
<widget class="QLabel" name="label_4">
89+
<property name="enabled">
8990
<bool>true</bool>
9091
</property>
91-
<property name="text" >
92+
<property name="text">
9293
<string>Y Min</string>
9394
</property>
9495
</widget>
9596
</item>
9697
<item>
97-
<widget class="QLineEdit" name="yMin" >
98-
<property name="enabled" >
98+
<widget class="QLineEdit" name="yMin">
99+
<property name="enabled">
99100
<bool>true</bool>
100101
</property>
101-
<property name="inputMask" >
102+
<property name="inputMask">
102103
<string/>
103104
</property>
104-
<property name="text" >
105+
<property name="text">
105106
<string/>
106107
</property>
107108
</widget>
108109
</item>
109110
</layout>
110111
</item>
111-
<item row="3" column="0" >
112-
<layout class="QHBoxLayout" >
112+
<item row="3" column="0">
113+
<layout class="QHBoxLayout">
113114
<item>
114-
<widget class="QLabel" name="label_3" >
115-
<property name="enabled" >
115+
<widget class="QLabel" name="label_3">
116+
<property name="enabled">
116117
<bool>true</bool>
117118
</property>
118-
<property name="text" >
119+
<property name="text">
119120
<string>X Max</string>
120121
</property>
121122
</widget>
122123
</item>
123124
<item>
124-
<widget class="QLineEdit" name="xMax" >
125-
<property name="enabled" >
125+
<widget class="QLineEdit" name="xMax">
126+
<property name="enabled">
126127
<bool>true</bool>
127128
</property>
128-
<property name="inputMask" >
129+
<property name="inputMask">
129130
<string/>
130131
</property>
131-
<property name="text" >
132+
<property name="text">
132133
<string/>
133134
</property>
134135
</widget>
135136
</item>
136137
</layout>
137138
</item>
138-
<item row="3" column="1" >
139-
<layout class="QHBoxLayout" >
139+
<item row="3" column="1">
140+
<layout class="QHBoxLayout">
140141
<item>
141-
<widget class="QLabel" name="label_5" >
142-
<property name="enabled" >
142+
<widget class="QLabel" name="label_5">
143+
<property name="enabled">
143144
<bool>true</bool>
144145
</property>
145-
<property name="text" >
146+
<property name="text">
146147
<string>Y Max</string>
147148
</property>
148149
</widget>
149150
</item>
150151
<item>
151-
<widget class="QLineEdit" name="yMax" >
152-
<property name="enabled" >
152+
<widget class="QLineEdit" name="yMax">
153+
<property name="enabled">
153154
<bool>true</bool>
154155
</property>
155-
<property name="inputMask" >
156+
<property name="inputMask">
156157
<string/>
157158
</property>
158-
<property name="text" >
159+
<property name="text">
159160
<string/>
160161
</property>
161162
</widget>
@@ -165,183 +166,183 @@
165166
</layout>
166167
</widget>
167168
</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">
171172
<string>Parameters</string>
172173
</property>
173-
<layout class="QGridLayout" >
174-
<item row="0" column="0" >
174+
<layout class="QGridLayout">
175+
<item row="0" column="0">
175176
<spacer>
176-
<property name="orientation" >
177+
<property name="orientation">
177178
<enum>Qt::Horizontal</enum>
178179
</property>
179-
<property name="sizeHint" stdset="0" >
180+
<property name="sizeHint" stdset="0">
180181
<size>
181182
<width>40</width>
182183
<height>20</height>
183184
</size>
184185
</property>
185186
</spacer>
186187
</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">
190191
<string>X</string>
191192
</property>
192193
</widget>
193194
</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">
197198
<number>4</number>
198199
</property>
199-
<property name="minimum" >
200+
<property name="minimum">
200201
<double>0.000100000000000</double>
201202
</property>
202-
<property name="maximum" >
203-
<double>999999999.000000000000000</double>
203+
<property name="maximum">
204+
<double>1000000000.000000000000000</double>
204205
</property>
205-
<property name="singleStep" >
206+
<property name="singleStep">
206207
<double>0.000100000000000</double>
207208
</property>
208209
</widget>
209210
</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">
213214
<string>Lock 1:1 ratio</string>
214215
</property>
215-
<property name="checked" >
216+
<property name="checked">
216217
<bool>true</bool>
217218
</property>
218219
</widget>
219220
</item>
220-
<item row="0" column="4" >
221+
<item row="0" column="4">
221222
<spacer>
222-
<property name="orientation" >
223+
<property name="orientation">
223224
<enum>Qt::Horizontal</enum>
224225
</property>
225-
<property name="sizeHint" stdset="0" >
226+
<property name="sizeHint" stdset="0">
226227
<size>
227228
<width>40</width>
228229
<height>20</height>
229230
</size>
230231
</property>
231232
</spacer>
232233
</item>
233-
<item row="1" column="0" >
234+
<item row="1" column="0">
234235
<spacer>
235-
<property name="orientation" >
236+
<property name="orientation">
236237
<enum>Qt::Horizontal</enum>
237238
</property>
238-
<property name="sizeHint" stdset="0" >
239+
<property name="sizeHint" stdset="0">
239240
<size>
240241
<width>40</width>
241242
<height>20</height>
242243
</size>
243244
</property>
244245
</spacer>
245246
</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">
249250
<bool>false</bool>
250251
</property>
251-
<property name="text" >
252+
<property name="text">
252253
<string>Y</string>
253254
</property>
254255
</widget>
255256
</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">
259260
<bool>false</bool>
260261
</property>
261-
<property name="decimals" >
262+
<property name="decimals">
262263
<number>4</number>
263264
</property>
264-
<property name="minimum" >
265+
<property name="minimum">
265266
<double>0.000100000000000</double>
266267
</property>
267-
<property name="maximum" >
268-
<double>999999999.000000000000000</double>
268+
<property name="maximum">
269+
<double>1000000000.000000000000000</double>
269270
</property>
270-
<property name="singleStep" >
271+
<property name="singleStep">
271272
<double>0.000100000000000</double>
272273
</property>
273274
</widget>
274275
</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">
278279
<string>Output grid as polygons</string>
279280
</property>
280-
<property name="checked" >
281+
<property name="checked">
281282
<bool>true</bool>
282283
</property>
283284
</widget>
284285
</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">
288289
<string>Output grid as lines</string>
289290
</property>
290291
</widget>
291292
</item>
292293
</layout>
293294
</widget>
294295
</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">
299300
<horstretch>0</horstretch>
300301
<verstretch>0</verstretch>
301302
</sizepolicy>
302303
</property>
303-
<property name="text" >
304+
<property name="text">
304305
<string>Output shapefile</string>
305306
</property>
306307
</widget>
307308
</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">
310311
<item>
311-
<widget class="QLineEdit" name="outShape" >
312-
<property name="readOnly" >
312+
<widget class="QLineEdit" name="outShape">
313+
<property name="readOnly">
313314
<bool>true</bool>
314315
</property>
315316
</widget>
316317
</item>
317318
<item>
318-
<widget class="QToolButton" name="toolOut" >
319-
<property name="text" >
319+
<widget class="QToolButton" name="toolOut">
320+
<property name="text">
320321
<string>Browse</string>
321322
</property>
322323
</widget>
323324
</item>
324325
</layout>
325326
</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">
329330
<number>0</number>
330331
</property>
331-
<property name="alignment" >
332+
<property name="alignment">
332333
<set>Qt::AlignCenter</set>
333334
</property>
334-
<property name="textVisible" >
335+
<property name="textVisible">
335336
<bool>true</bool>
336337
</property>
337338
</widget>
338339
</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">
342343
<enum>Qt::Horizontal</enum>
343344
</property>
344-
<property name="standardButtons" >
345+
<property name="standardButtons">
345346
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
346347
</property>
347348
</widget>
@@ -356,11 +357,11 @@
356357
<receiver>Dialog</receiver>
357358
<slot>accept()</slot>
358359
<hints>
359-
<hint type="sourcelabel" >
360+
<hint type="sourcelabel">
360361
<x>330</x>
361362
<y>449</y>
362363
</hint>
363-
<hint type="destinationlabel" >
364+
<hint type="destinationlabel">
364365
<x>215</x>
365366
<y>290</y>
366367
</hint>
@@ -372,11 +373,11 @@
372373
<receiver>Dialog</receiver>
373374
<slot>close()</slot>
374375
<hints>
375-
<hint type="sourcelabel" >
376+
<hint type="sourcelabel">
376377
<x>256</x>
377378
<y>449</y>
378379
</hint>
379-
<hint type="destinationlabel" >
380+
<hint type="destinationlabel">
380381
<x>132</x>
381382
<y>239</y>
382383
</hint>
@@ -388,11 +389,11 @@
388389
<receiver>spnY</receiver>
389390
<slot>setDisabled(bool)</slot>
390391
<hints>
391-
<hint type="sourcelabel" >
392+
<hint type="sourcelabel">
392393
<x>279</x>
393394
<y>244</y>
394395
</hint>
395-
<hint type="destinationlabel" >
396+
<hint type="destinationlabel">
396397
<x>164</x>
397398
<y>280</y>
398399
</hint>
@@ -404,11 +405,11 @@
404405
<receiver>label_8</receiver>
405406
<slot>setDisabled(bool)</slot>
406407
<hints>
407-
<hint type="sourcelabel" >
408+
<hint type="sourcelabel">
408409
<x>302</x>
409410
<y>261</y>
410411
</hint>
411-
<hint type="destinationlabel" >
412+
<hint type="destinationlabel">
412413
<x>73</x>
413414
<y>280</y>
414415
</hint>

0 commit comments

Comments
 (0)
Please sign in to comment.