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

« back to all changes in this revision

Viewing changes to tools/mapserver_export/qgsmapserverexportbase.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
 
 <author>Gary Sherman</author>
3
 
 <comment></comment>
4
 
 <exportmacro></exportmacro>
5
 
 <class>QgsMapserverExportBase</class>
6
 
 <widget class="QDialog" name="QgsMapserverExportBase" >
7
 
  <property name="geometry" >
8
 
   <rect>
9
 
    <x>0</x>
10
 
    <y>0</y>
11
 
    <width>485</width>
12
 
    <height>438</height>
13
 
   </rect>
14
 
  </property>
15
 
  <property name="windowTitle" >
16
 
   <string>Export to Mapserver</string>
17
 
  </property>
18
 
  <property name="sizeGripEnabled" >
19
 
   <bool>true</bool>
20
 
  </property>
21
 
  <layout class="QGridLayout" >
22
 
   <property name="margin" >
23
 
    <number>9</number>
24
 
   </property>
25
 
   <property name="spacing" >
26
 
    <number>6</number>
27
 
   </property>
28
 
   <item row="5" column="0" colspan="3" >
29
 
    <layout class="QHBoxLayout" >
30
 
     <property name="margin" >
31
 
      <number>0</number>
32
 
     </property>
33
 
     <property name="spacing" >
34
 
      <number>6</number>
35
 
     </property>
36
 
     <item>
37
 
      <widget class="QPushButton" name="buttonHelp" >
38
 
       <property name="text" >
39
 
        <string>&amp;Help</string>
40
 
       </property>
41
 
       <property name="shortcut" >
42
 
        <string>F1</string>
43
 
       </property>
44
 
       <property name="autoDefault" >
45
 
        <bool>true</bool>
46
 
       </property>
47
 
      </widget>
48
 
     </item>
49
 
     <item>
50
 
      <spacer>
51
 
       <property name="orientation" >
52
 
        <enum>Qt::Horizontal</enum>
53
 
       </property>
54
 
       <property name="sizeType" >
55
 
        <enum>QSizePolicy::Expanding</enum>
56
 
       </property>
57
 
       <property name="sizeHint" >
58
 
        <size>
59
 
         <width>20</width>
60
 
         <height>20</height>
61
 
        </size>
62
 
       </property>
63
 
      </spacer>
64
 
     </item>
65
 
     <item>
66
 
      <widget class="QPushButton" name="buttonOk" >
67
 
       <property name="text" >
68
 
        <string>&amp;OK</string>
69
 
       </property>
70
 
       <property name="shortcut" >
71
 
        <string/>
72
 
       </property>
73
 
       <property name="autoDefault" >
74
 
        <bool>true</bool>
75
 
       </property>
76
 
       <property name="default" >
77
 
        <bool>true</bool>
78
 
       </property>
79
 
      </widget>
80
 
     </item>
81
 
     <item>
82
 
      <widget class="QPushButton" name="buttonCancel" >
83
 
       <property name="text" >
84
 
        <string>&amp;Cancel</string>
85
 
       </property>
86
 
       <property name="shortcut" >
87
 
        <string/>
88
 
       </property>
89
 
       <property name="autoDefault" >
90
 
        <bool>true</bool>
91
 
       </property>
92
 
      </widget>
93
 
     </item>
94
 
    </layout>
95
 
   </item>
96
 
   <item row="4" column="0" colspan="3" >
97
 
    <widget class="Q3GroupBox" name="grpWeb" >
98
 
     <property name="title" >
99
 
      <string>Web Interface Definition</string>
100
 
     </property>
101
 
     <property name="orientation" >
102
 
      <enum>Qt::Vertical</enum>
103
 
     </property>
104
 
     <layout class="QGridLayout" >
105
 
      <property name="margin" >
106
 
       <number>0</number>
107
 
      </property>
108
 
      <property name="spacing" >
109
 
       <number>0</number>
110
 
      </property>
111
 
      <item row="0" column="0" >
112
 
       <layout class="QHBoxLayout" >
113
 
        <property name="margin" >
114
 
         <number>4</number>
115
 
        </property>
116
 
        <property name="spacing" >
117
 
         <number>6</number>
118
 
        </property>
119
 
        <item>
120
 
         <widget class="QLabel" name="textLabel5_2" >
121
 
          <property name="minimumSize" >
122
 
           <size>
123
 
            <width>60</width>
124
 
            <height>0</height>
125
 
           </size>
126
 
          </property>
127
 
          <property name="text" >
128
 
           <string>Template</string>
129
 
          </property>
130
 
          <property name="buddy" >
131
 
           <cstring>txtWebTemplate</cstring>
132
 
          </property>
133
 
         </widget>
134
 
        </item>
135
 
        <item>
136
 
         <widget class="QLineEdit" name="txtWebTemplate" >
137
 
          <property name="toolTip" >
138
 
           <string>Path to the MapServer template file</string>
139
 
          </property>
140
 
         </widget>
141
 
        </item>
142
 
        <item>
143
 
         <widget class="QPushButton" name="btnChooseTemplateFile" >
144
 
          <property name="text" >
145
 
           <string>...</string>
146
 
          </property>
147
 
         </widget>
148
 
        </item>
149
 
       </layout>
150
 
      </item>
151
 
      <item row="1" column="0" >
152
 
       <layout class="QHBoxLayout" >
153
 
        <property name="margin" >
154
 
         <number>4</number>
155
 
        </property>
156
 
        <property name="spacing" >
157
 
         <number>6</number>
158
 
        </property>
159
 
        <item>
160
 
         <widget class="QLabel" name="textLabel5" >
161
 
          <property name="minimumSize" >
162
 
           <size>
163
 
            <width>60</width>
164
 
            <height>0</height>
165
 
           </size>
166
 
          </property>
167
 
          <property name="text" >
168
 
           <string>Header</string>
169
 
          </property>
170
 
          <property name="buddy" >
171
 
           <cstring>txtWebHeader</cstring>
172
 
          </property>
173
 
         </widget>
174
 
        </item>
175
 
        <item>
176
 
         <widget class="QLineEdit" name="txtWebHeader" />
177
 
        </item>
178
 
        <item>
179
 
         <widget class="QPushButton" name="btnChooseHeaderFile" >
180
 
          <property name="text" >
181
 
           <string>...</string>
182
 
          </property>
183
 
         </widget>
184
 
        </item>
185
 
       </layout>
186
 
      </item>
187
 
      <item row="2" column="0" >
188
 
       <layout class="QHBoxLayout" >
189
 
        <property name="margin" >
190
 
         <number>4</number>
191
 
        </property>
192
 
        <property name="spacing" >
193
 
         <number>6</number>
194
 
        </property>
195
 
        <item>
196
 
         <widget class="QLabel" name="textLabel5_3" >
197
 
          <property name="minimumSize" >
198
 
           <size>
199
 
            <width>60</width>
200
 
            <height>0</height>
201
 
           </size>
202
 
          </property>
203
 
          <property name="text" >
204
 
           <string>Footer</string>
205
 
          </property>
206
 
          <property name="buddy" >
207
 
           <cstring>txtWebFooter</cstring>
208
 
          </property>
209
 
         </widget>
210
 
        </item>
211
 
        <item>
212
 
         <widget class="QLineEdit" name="txtWebFooter" />
213
 
        </item>
214
 
        <item>
215
 
         <widget class="QPushButton" name="btnChooseFooterFile" >
216
 
          <property name="text" >
217
 
           <string>...</string>
218
 
          </property>
219
 
         </widget>
220
 
        </item>
221
 
       </layout>
222
 
      </item>
223
 
     </layout>
224
 
    </widget>
225
 
   </item>
226
 
   <item row="3" column="0" colspan="3" >
227
 
    <widget class="Q3GroupBox" name="grpMap" >
228
 
     <property name="title" >
229
 
      <string>Map</string>
230
 
     </property>
231
 
     <property name="orientation" >
232
 
      <enum>Qt::Vertical</enum>
233
 
     </property>
234
 
     <layout class="QGridLayout" >
235
 
      <property name="margin" >
236
 
       <number>0</number>
237
 
      </property>
238
 
      <property name="spacing" >
239
 
       <number>0</number>
240
 
      </property>
241
 
      <item row="2" column="0" >
242
 
       <layout class="QHBoxLayout" >
243
 
        <property name="margin" >
244
 
         <number>4</number>
245
 
        </property>
246
 
        <property name="spacing" >
247
 
         <number>6</number>
248
 
        </property>
249
 
        <item>
250
 
         <widget class="QLabel" name="textLabel3" >
251
 
          <property name="text" >
252
 
           <string>Units</string>
253
 
          </property>
254
 
          <property name="alignment" >
255
 
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
256
 
          </property>
257
 
          <property name="buddy" >
258
 
           <cstring>cmbMapUnits</cstring>
259
 
          </property>
260
 
         </widget>
261
 
        </item>
262
 
        <item>
263
 
         <widget class="QComboBox" name="cmbMapUnits" >
264
 
          <item>
265
 
           <property name="text" >
266
 
            <string>dd</string>
267
 
           </property>
268
 
          </item>
269
 
          <item>
270
 
           <property name="text" >
271
 
            <string>feet</string>
272
 
           </property>
273
 
          </item>
274
 
          <item>
275
 
           <property name="text" >
276
 
            <string>meters</string>
277
 
           </property>
278
 
          </item>
279
 
          <item>
280
 
           <property name="text" >
281
 
            <string>miles</string>
282
 
           </property>
283
 
          </item>
284
 
          <item>
285
 
           <property name="text" >
286
 
            <string>inches</string>
287
 
           </property>
288
 
          </item>
289
 
          <item>
290
 
           <property name="text" >
291
 
            <string>kilometers</string>
292
 
           </property>
293
 
          </item>
294
 
         </widget>
295
 
        </item>
296
 
        <item>
297
 
         <widget class="QLabel" name="textLabel4" >
298
 
          <property name="text" >
299
 
           <string>Image type</string>
300
 
          </property>
301
 
          <property name="alignment" >
302
 
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
303
 
          </property>
304
 
          <property name="buddy" >
305
 
           <cstring>cmbMapImageType</cstring>
306
 
          </property>
307
 
         </widget>
308
 
        </item>
309
 
        <item>
310
 
         <widget class="QComboBox" name="cmbMapImageType" >
311
 
          <item>
312
 
           <property name="text" >
313
 
            <string>gif</string>
314
 
           </property>
315
 
          </item>
316
 
          <item>
317
 
           <property name="text" >
318
 
            <string>gtiff</string>
319
 
           </property>
320
 
          </item>
321
 
          <item>
322
 
           <property name="text" >
323
 
            <string>jpeg</string>
324
 
           </property>
325
 
          </item>
326
 
          <item>
327
 
           <property name="text" >
328
 
            <string>png</string>
329
 
           </property>
330
 
          </item>
331
 
          <item>
332
 
           <property name="text" >
333
 
            <string>swf</string>
334
 
           </property>
335
 
          </item>
336
 
          <item>
337
 
           <property name="text" >
338
 
            <string>userdefined</string>
339
 
           </property>
340
 
          </item>
341
 
          <item>
342
 
           <property name="text" >
343
 
            <string>wbmp</string>
344
 
           </property>
345
 
          </item>
346
 
         </widget>
347
 
        </item>
348
 
       </layout>
349
 
      </item>
350
 
      <item row="1" column="0" >
351
 
       <layout class="QHBoxLayout" >
352
 
        <property name="margin" >
353
 
         <number>4</number>
354
 
        </property>
355
 
        <property name="spacing" >
356
 
         <number>6</number>
357
 
        </property>
358
 
        <item>
359
 
         <widget class="QLabel" name="textLabel2" >
360
 
          <property name="text" >
361
 
           <string>Width</string>
362
 
          </property>
363
 
          <property name="buddy" >
364
 
           <cstring>txtMapWidth</cstring>
365
 
          </property>
366
 
         </widget>
367
 
        </item>
368
 
        <item>
369
 
         <widget class="QLineEdit" name="txtMapWidth" />
370
 
        </item>
371
 
        <item>
372
 
         <widget class="QLabel" name="textLabel2_2" >
373
 
          <property name="text" >
374
 
           <string>Height</string>
375
 
          </property>
376
 
          <property name="buddy" >
377
 
           <cstring>txtMapHeight</cstring>
378
 
          </property>
379
 
         </widget>
380
 
        </item>
381
 
        <item>
382
 
         <widget class="QLineEdit" name="txtMapHeight" />
383
 
        </item>
384
 
       </layout>
385
 
      </item>
386
 
      <item row="0" column="0" >
387
 
       <layout class="QHBoxLayout" >
388
 
        <property name="margin" >
389
 
         <number>4</number>
390
 
        </property>
391
 
        <property name="spacing" >
392
 
         <number>6</number>
393
 
        </property>
394
 
        <item>
395
 
         <widget class="QLabel" name="textLabel1" >
396
 
          <property name="toolTip" >
397
 
           <string/>
398
 
          </property>
399
 
          <property name="text" >
400
 
           <string>Name</string>
401
 
          </property>
402
 
          <property name="buddy" >
403
 
           <cstring>txtMapName</cstring>
404
 
          </property>
405
 
         </widget>
406
 
        </item>
407
 
        <item>
408
 
         <widget class="QLineEdit" name="txtMapName" >
409
 
          <property name="toolTip" >
410
 
           <string>Prefix attached to map, scalebar and legend GIF filenames created using this MapFile</string>
411
 
          </property>
412
 
         </widget>
413
 
        </item>
414
 
       </layout>
415
 
      </item>
416
 
     </layout>
417
 
    </widget>
418
 
   </item>
419
 
   <item row="0" column="0" >
420
 
    <widget class="QLabel" name="textLabel7" >
421
 
     <property name="text" >
422
 
      <string>Map file</string>
423
 
     </property>
424
 
     <property name="buddy" >
425
 
      <cstring>txtMapFilePath</cstring>
426
 
     </property>
427
 
    </widget>
428
 
   </item>
429
 
   <item row="0" column="1" >
430
 
    <widget class="QLineEdit" name="txtMapFilePath" >
431
 
     <property name="toolTip" >
432
 
      <string>Name for the map file to be created from the QGIS project file</string>
433
 
     </property>
434
 
    </widget>
435
 
   </item>
436
 
   <item row="1" column="2" >
437
 
    <widget class="QPushButton" name="btnChooseProjectFile" >
438
 
     <property name="text" >
439
 
      <string>...</string>
440
 
     </property>
441
 
    </widget>
442
 
   </item>
443
 
   <item row="1" column="1" >
444
 
    <widget class="QLineEdit" name="txtQgisFilePath" >
445
 
     <property name="toolTip" >
446
 
      <string>Full path to the QGIS project file to export to MapServer map format</string>
447
 
     </property>
448
 
    </widget>
449
 
   </item>
450
 
   <item row="1" column="0" >
451
 
    <widget class="QLabel" name="textLabel7_2" >
452
 
     <property name="text" >
453
 
      <string>QGIS project file</string>
454
 
     </property>
455
 
     <property name="buddy" >
456
 
      <cstring>txtQgisFilePath</cstring>
457
 
     </property>
458
 
    </widget>
459
 
   </item>
460
 
   <item row="0" column="2" >
461
 
    <widget class="QPushButton" name="btnChooseFile" >
462
 
     <property name="text" >
463
 
      <string>...</string>
464
 
     </property>
465
 
    </widget>
466
 
   </item>
467
 
   <item row="2" column="1" colspan="2" >
468
 
    <widget class="QCheckBox" name="chkExpLayersOnly" >
469
 
     <property name="toolTip" >
470
 
      <string>If checked, only the layer information will be processed</string>
471
 
     </property>
472
 
     <property name="text" >
473
 
      <string>Export LAYER information only</string>
474
 
     </property>
475
 
    </widget>
476
 
   </item>
477
 
  </layout>
478
 
 </widget>
479
 
 <layoutdefault spacing="6" margin="11" />
480
 
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
481
 
 <customwidgets>
482
 
  <customwidget>
483
 
   <class>Q3GroupBox</class>
484
 
   <extends></extends>
485
 
   <header>Qt3Support/Q3GroupBox</header>
486
 
   <container>1</container>
487
 
   <pixmap></pixmap>
488
 
  </customwidget>
489
 
 </customwidgets>
490
 
 <tabstops>
491
 
  <tabstop>txtMapFilePath</tabstop>
492
 
  <tabstop>btnChooseFile</tabstop>
493
 
  <tabstop>txtQgisFilePath</tabstop>
494
 
  <tabstop>btnChooseProjectFile</tabstop>
495
 
  <tabstop>chkExpLayersOnly</tabstop>
496
 
  <tabstop>txtMapName</tabstop>
497
 
  <tabstop>txtMapWidth</tabstop>
498
 
  <tabstop>txtMapHeight</tabstop>
499
 
  <tabstop>cmbMapUnits</tabstop>
500
 
  <tabstop>cmbMapImageType</tabstop>
501
 
  <tabstop>txtWebTemplate</tabstop>
502
 
  <tabstop>btnChooseTemplateFile</tabstop>
503
 
  <tabstop>txtWebHeader</tabstop>
504
 
  <tabstop>btnChooseHeaderFile</tabstop>
505
 
  <tabstop>txtWebFooter</tabstop>
506
 
  <tabstop>btnChooseFooterFile</tabstop>
507
 
  <tabstop>buttonHelp</tabstop>
508
 
  <tabstop>buttonOk</tabstop>
509
 
  <tabstop>buttonCancel</tabstop>
510
 
 </tabstops>
511
 
 <resources/>
512
 
 <connections>
513
 
  <connection>
514
 
   <sender>buttonCancel</sender>
515
 
   <signal>clicked()</signal>
516
 
   <receiver>QgsMapserverExportBase</receiver>
517
 
   <slot>reject()</slot>
518
 
   <hints>
519
 
    <hint type="sourcelabel" >
520
 
     <x>426</x>
521
 
     <y>422</y>
522
 
    </hint>
523
 
    <hint type="destinationlabel" >
524
 
     <x>240</x>
525
 
     <y>223</y>
526
 
    </hint>
527
 
   </hints>
528
 
  </connection>
529
 
  <connection>
530
 
   <sender>buttonOk</sender>
531
 
   <signal>clicked()</signal>
532
 
   <receiver>QgsMapserverExportBase</receiver>
533
 
   <slot>accept()</slot>
534
 
   <hints>
535
 
    <hint type="sourcelabel" >
536
 
     <x>335</x>
537
 
     <y>422</y>
538
 
    </hint>
539
 
    <hint type="destinationlabel" >
540
 
     <x>240</x>
541
 
     <y>223</y>
542
 
    </hint>
543
 
   </hints>
544
 
  </connection>
545
 
 </connections>
546
 
</ui>