~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to python/plugins/fTools/tools/frmRandPoints.ui

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<ui version="4.0" >
 
2
 <class>Dialog</class>
 
3
 <widget class="QDialog" name="Dialog" >
 
4
  <property name="windowModality" >
 
5
   <enum>Qt::NonModal</enum>
 
6
  </property>
 
7
  <property name="geometry" >
 
8
   <rect>
 
9
    <x>0</x>
 
10
    <y>0</y>
 
11
    <width>373</width>
 
12
    <height>435</height>
 
13
   </rect>
 
14
  </property>
 
15
  <property name="windowTitle" >
 
16
   <string>Generate Random Points</string>
 
17
  </property>
 
18
  <property name="sizeGripEnabled" >
 
19
   <bool>true</bool>
 
20
  </property>
 
21
  <layout class="QGridLayout" name="gridLayout" >
 
22
   <item row="0" column="0" >
 
23
    <widget class="QLabel" name="label_3" >
 
24
     <property name="sizePolicy" >
 
25
      <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
 
26
       <horstretch>0</horstretch>
 
27
       <verstretch>0</verstretch>
 
28
      </sizepolicy>
 
29
     </property>
 
30
     <property name="text" >
 
31
      <string>Input Boundary Layer</string>
 
32
     </property>
 
33
    </widget>
 
34
   </item>
 
35
   <item row="1" column="0" colspan="2" >
 
36
    <widget class="QComboBox" name="inShape" />
 
37
   </item>
 
38
   <item row="2" column="0" colspan="2" >
 
39
    <layout class="QHBoxLayout" >
 
40
     <item>
 
41
      <widget class="QCheckBox" name="chkMinimum" >
 
42
       <property name="enabled" >
 
43
        <bool>false</bool>
 
44
       </property>
 
45
       <property name="text" >
 
46
        <string>Minimum distance between points</string>
 
47
       </property>
 
48
      </widget>
 
49
     </item>
 
50
     <item>
 
51
      <widget class="QSpinBox" name="spnMinimum" >
 
52
       <property name="enabled" >
 
53
        <bool>false</bool>
 
54
       </property>
 
55
      </widget>
 
56
     </item>
 
57
    </layout>
 
58
   </item>
 
59
   <item row="3" column="0" colspan="2" >
 
60
    <widget class="QGroupBox" name="groupBox" >
 
61
     <property name="title" >
 
62
      <string>Sample Size</string>
 
63
     </property>
 
64
     <layout class="QGridLayout" >
 
65
      <item row="0" column="0" >
 
66
       <widget class="QLabel" name="label" >
 
67
        <property name="font" >
 
68
         <font>
 
69
          <pointsize>9</pointsize>
 
70
          <weight>75</weight>
 
71
          <bold>true</bold>
 
72
         </font>
 
73
        </property>
 
74
        <property name="text" >
 
75
         <string>Unstratified Sampling Design (Entire layer)</string>
 
76
        </property>
 
77
       </widget>
 
78
      </item>
 
79
      <item row="1" column="0" >
 
80
       <layout class="QHBoxLayout" >
 
81
        <item>
 
82
         <widget class="QRadioButton" name="rdoUnstratified" >
 
83
          <property name="text" >
 
84
           <string>Use this number of points</string>
 
85
          </property>
 
86
          <property name="checked" >
 
87
           <bool>true</bool>
 
88
          </property>
 
89
         </widget>
 
90
        </item>
 
91
        <item>
 
92
         <widget class="QSpinBox" name="spnUnstratified" >
 
93
          <property name="enabled" >
 
94
           <bool>true</bool>
 
95
          </property>
 
96
          <property name="minimum" >
 
97
           <number>1</number>
 
98
          </property>
 
99
          <property name="maximum" >
 
100
           <number>9999</number>
 
101
          </property>
 
102
         </widget>
 
103
        </item>
 
104
       </layout>
 
105
      </item>
 
106
      <item row="2" column="0" >
 
107
       <widget class="QLabel" name="label_4" >
 
108
        <property name="font" >
 
109
         <font>
 
110
          <pointsize>9</pointsize>
 
111
          <weight>75</weight>
 
112
          <bold>true</bold>
 
113
         </font>
 
114
        </property>
 
115
        <property name="text" >
 
116
         <string>Stratified Sampling Design (Individual polygons)</string>
 
117
        </property>
 
118
       </widget>
 
119
      </item>
 
120
      <item row="3" column="0" >
 
121
       <layout class="QHBoxLayout" >
 
122
        <item>
 
123
         <widget class="QRadioButton" name="rdoStratified" >
 
124
          <property name="text" >
 
125
           <string>Use this number of points</string>
 
126
          </property>
 
127
         </widget>
 
128
        </item>
 
129
        <item>
 
130
         <widget class="QSpinBox" name="spnStratified" >
 
131
          <property name="enabled" >
 
132
           <bool>false</bool>
 
133
          </property>
 
134
          <property name="minimum" >
 
135
           <number>1</number>
 
136
          </property>
 
137
          <property name="maximum" >
 
138
           <number>9999</number>
 
139
          </property>
 
140
         </widget>
 
141
        </item>
 
142
       </layout>
 
143
      </item>
 
144
      <item row="4" column="0" >
 
145
       <layout class="QHBoxLayout" >
 
146
        <item>
 
147
         <widget class="QRadioButton" name="rdoDensity" >
 
148
          <property name="text" >
 
149
           <string>Use this density of points</string>
 
150
          </property>
 
151
         </widget>
 
152
        </item>
 
153
        <item>
 
154
         <widget class="QDoubleSpinBox" name="spnDensity" >
 
155
          <property name="enabled" >
 
156
           <bool>false</bool>
 
157
          </property>
 
158
          <property name="decimals" >
 
159
           <number>4</number>
 
160
          </property>
 
161
          <property name="minimum" >
 
162
           <double>0.000100000000000</double>
 
163
          </property>
 
164
          <property name="singleStep" >
 
165
           <double>0.000100000000000</double>
 
166
          </property>
 
167
          <property name="value" >
 
168
           <double>0.000100000000000</double>
 
169
          </property>
 
170
         </widget>
 
171
        </item>
 
172
       </layout>
 
173
      </item>
 
174
      <item row="5" column="0" >
 
175
       <layout class="QHBoxLayout" >
 
176
        <item>
 
177
         <widget class="QRadioButton" name="rdoField" >
 
178
          <property name="text" >
 
179
           <string>Use value from input field</string>
 
180
          </property>
 
181
         </widget>
 
182
        </item>
 
183
        <item>
 
184
         <widget class="QComboBox" name="cmbField" >
 
185
          <property name="enabled" >
 
186
           <bool>false</bool>
 
187
          </property>
 
188
         </widget>
 
189
        </item>
 
190
       </layout>
 
191
      </item>
 
192
     </layout>
 
193
    </widget>
 
194
   </item>
 
195
   <item row="4" column="0" >
 
196
    <widget class="QLabel" name="label_2" >
 
197
     <property name="sizePolicy" >
 
198
      <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
 
199
       <horstretch>0</horstretch>
 
200
       <verstretch>0</verstretch>
 
201
      </sizepolicy>
 
202
     </property>
 
203
     <property name="text" >
 
204
      <string>Output Shapefile</string>
 
205
     </property>
 
206
    </widget>
 
207
   </item>
 
208
   <item row="5" column="0" colspan="2" >
 
209
    <layout class="QHBoxLayout" >
 
210
     <item>
 
211
      <widget class="QLineEdit" name="outShape" >
 
212
       <property name="readOnly" >
 
213
        <bool>true</bool>
 
214
       </property>
 
215
      </widget>
 
216
     </item>
 
217
     <item>
 
218
      <widget class="QToolButton" name="toolOut" >
 
219
       <property name="text" >
 
220
        <string>Browse</string>
 
221
       </property>
 
222
      </widget>
 
223
     </item>
 
224
    </layout>
 
225
   </item>
 
226
   <item row="6" column="0" >
 
227
    <widget class="QProgressBar" name="progressBar" >
 
228
     <property name="value" >
 
229
      <number>24</number>
 
230
     </property>
 
231
     <property name="alignment" >
 
232
      <set>Qt::AlignCenter</set>
 
233
     </property>
 
234
     <property name="textVisible" >
 
235
      <bool>true</bool>
 
236
     </property>
 
237
    </widget>
 
238
   </item>
 
239
   <item row="6" column="1" >
 
240
    <widget class="QDialogButtonBox" name="buttonBox_2" >
 
241
     <property name="orientation" >
 
242
      <enum>Qt::Horizontal</enum>
 
243
     </property>
 
244
     <property name="standardButtons" >
 
245
      <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
 
246
     </property>
 
247
    </widget>
 
248
   </item>
 
249
  </layout>
 
250
 </widget>
 
251
 <resources/>
 
252
 <connections>
 
253
  <connection>
 
254
   <sender>buttonBox_2</sender>
 
255
   <signal>accepted()</signal>
 
256
   <receiver>Dialog</receiver>
 
257
   <slot>accept()</slot>
 
258
   <hints>
 
259
    <hint type="sourcelabel" >
 
260
     <x>133</x>
 
261
     <y>408</y>
 
262
    </hint>
 
263
    <hint type="destinationlabel" >
 
264
     <x>215</x>
 
265
     <y>290</y>
 
266
    </hint>
 
267
   </hints>
 
268
  </connection>
 
269
  <connection>
 
270
   <sender>buttonBox_2</sender>
 
271
   <signal>rejected()</signal>
 
272
   <receiver>Dialog</receiver>
 
273
   <slot>close()</slot>
 
274
   <hints>
 
275
    <hint type="sourcelabel" >
 
276
     <x>59</x>
 
277
     <y>408</y>
 
278
    </hint>
 
279
    <hint type="destinationlabel" >
 
280
     <x>132</x>
 
281
     <y>239</y>
 
282
    </hint>
 
283
   </hints>
 
284
  </connection>
 
285
  <connection>
 
286
   <sender>rdoUnstratified</sender>
 
287
   <signal>toggled(bool)</signal>
 
288
   <receiver>spnUnstratified</receiver>
 
289
   <slot>setEnabled(bool)</slot>
 
290
   <hints>
 
291
    <hint type="sourcelabel" >
 
292
     <x>102</x>
 
293
     <y>161</y>
 
294
    </hint>
 
295
    <hint type="destinationlabel" >
 
296
     <x>218</x>
 
297
     <y>164</y>
 
298
    </hint>
 
299
   </hints>
 
300
  </connection>
 
301
  <connection>
 
302
   <sender>rdoStratified</sender>
 
303
   <signal>toggled(bool)</signal>
 
304
   <receiver>spnStratified</receiver>
 
305
   <slot>setEnabled(bool)</slot>
 
306
   <hints>
 
307
    <hint type="sourcelabel" >
 
308
     <x>101</x>
 
309
     <y>219</y>
 
310
    </hint>
 
311
    <hint type="destinationlabel" >
 
312
     <x>247</x>
 
313
     <y>223</y>
 
314
    </hint>
 
315
   </hints>
 
316
  </connection>
 
317
  <connection>
 
318
   <sender>rdoField</sender>
 
319
   <signal>toggled(bool)</signal>
 
320
   <receiver>cmbField</receiver>
 
321
   <slot>setEnabled(bool)</slot>
 
322
   <hints>
 
323
    <hint type="sourcelabel" >
 
324
     <x>150</x>
 
325
     <y>280</y>
 
326
    </hint>
 
327
    <hint type="destinationlabel" >
 
328
     <x>219</x>
 
329
     <y>281</y>
 
330
    </hint>
 
331
   </hints>
 
332
  </connection>
 
333
  <connection>
 
334
   <sender>chkMinimum</sender>
 
335
   <signal>toggled(bool)</signal>
 
336
   <receiver>spnMinimum</receiver>
 
337
   <slot>setEnabled(bool)</slot>
 
338
   <hints>
 
339
    <hint type="sourcelabel" >
 
340
     <x>172</x>
 
341
     <y>74</y>
 
342
    </hint>
 
343
    <hint type="destinationlabel" >
 
344
     <x>260</x>
 
345
     <y>80</y>
 
346
    </hint>
 
347
   </hints>
 
348
  </connection>
 
349
  <connection>
 
350
   <sender>rdoDensity</sender>
 
351
   <signal>toggled(bool)</signal>
 
352
   <receiver>spnDensity</receiver>
 
353
   <slot>setEnabled(bool)</slot>
 
354
   <hints>
 
355
    <hint type="sourcelabel" >
 
356
     <x>96</x>
 
357
     <y>251</y>
 
358
    </hint>
 
359
    <hint type="destinationlabel" >
 
360
     <x>221</x>
 
361
     <y>254</y>
 
362
    </hint>
 
363
   </hints>
 
364
  </connection>
 
365
 </connections>
 
366
</ui>