2
<author>Gary Sherman</author>
4
<exportmacro></exportmacro>
5
<class>QgsMapserverExportBase</class>
6
<widget class="QDialog" name="QgsMapserverExportBase" >
7
<property name="geometry" >
15
<property name="windowTitle" >
16
<string>Export to Mapserver</string>
18
<property name="sizeGripEnabled" >
21
<layout class="QGridLayout" >
22
<property name="margin" >
25
<property name="spacing" >
28
<item row="5" column="0" colspan="3" >
29
<layout class="QHBoxLayout" >
30
<property name="margin" >
33
<property name="spacing" >
37
<widget class="QPushButton" name="buttonHelp" >
38
<property name="text" >
39
<string>&Help</string>
41
<property name="shortcut" >
44
<property name="autoDefault" >
51
<property name="orientation" >
52
<enum>Qt::Horizontal</enum>
54
<property name="sizeType" >
55
<enum>QSizePolicy::Expanding</enum>
57
<property name="sizeHint" >
66
<widget class="QPushButton" name="buttonOk" >
67
<property name="text" >
68
<string>&OK</string>
70
<property name="shortcut" >
73
<property name="autoDefault" >
76
<property name="default" >
82
<widget class="QPushButton" name="buttonCancel" >
83
<property name="text" >
84
<string>&Cancel</string>
86
<property name="shortcut" >
89
<property name="autoDefault" >
96
<item row="4" column="0" colspan="3" >
97
<widget class="Q3GroupBox" name="grpWeb" >
98
<property name="title" >
99
<string>Web Interface Definition</string>
101
<property name="orientation" >
102
<enum>Qt::Vertical</enum>
104
<layout class="QGridLayout" >
105
<property name="margin" >
108
<property name="spacing" >
111
<item row="0" column="0" >
112
<layout class="QHBoxLayout" >
113
<property name="margin" >
116
<property name="spacing" >
120
<widget class="QLabel" name="textLabel5_2" >
121
<property name="minimumSize" >
127
<property name="text" >
128
<string>Template</string>
130
<property name="buddy" >
131
<cstring>txtWebTemplate</cstring>
136
<widget class="QLineEdit" name="txtWebTemplate" >
137
<property name="toolTip" >
138
<string>Path to the MapServer template file</string>
143
<widget class="QPushButton" name="btnChooseTemplateFile" >
144
<property name="text" >
151
<item row="1" column="0" >
152
<layout class="QHBoxLayout" >
153
<property name="margin" >
156
<property name="spacing" >
160
<widget class="QLabel" name="textLabel5" >
161
<property name="minimumSize" >
167
<property name="text" >
168
<string>Header</string>
170
<property name="buddy" >
171
<cstring>txtWebHeader</cstring>
176
<widget class="QLineEdit" name="txtWebHeader" />
179
<widget class="QPushButton" name="btnChooseHeaderFile" >
180
<property name="text" >
187
<item row="2" column="0" >
188
<layout class="QHBoxLayout" >
189
<property name="margin" >
192
<property name="spacing" >
196
<widget class="QLabel" name="textLabel5_3" >
197
<property name="minimumSize" >
203
<property name="text" >
204
<string>Footer</string>
206
<property name="buddy" >
207
<cstring>txtWebFooter</cstring>
212
<widget class="QLineEdit" name="txtWebFooter" />
215
<widget class="QPushButton" name="btnChooseFooterFile" >
216
<property name="text" >
226
<item row="3" column="0" colspan="3" >
227
<widget class="Q3GroupBox" name="grpMap" >
228
<property name="title" >
231
<property name="orientation" >
232
<enum>Qt::Vertical</enum>
234
<layout class="QGridLayout" >
235
<property name="margin" >
238
<property name="spacing" >
241
<item row="2" column="0" >
242
<layout class="QHBoxLayout" >
243
<property name="margin" >
246
<property name="spacing" >
250
<widget class="QLabel" name="textLabel3" >
251
<property name="text" >
252
<string>Units</string>
254
<property name="alignment" >
255
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
257
<property name="buddy" >
258
<cstring>cmbMapUnits</cstring>
263
<widget class="QComboBox" name="cmbMapUnits" >
265
<property name="text" >
270
<property name="text" >
271
<string>feet</string>
275
<property name="text" >
276
<string>meters</string>
280
<property name="text" >
281
<string>miles</string>
285
<property name="text" >
286
<string>inches</string>
290
<property name="text" >
291
<string>kilometers</string>
297
<widget class="QLabel" name="textLabel4" >
298
<property name="text" >
299
<string>Image type</string>
301
<property name="alignment" >
302
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
304
<property name="buddy" >
305
<cstring>cmbMapImageType</cstring>
310
<widget class="QComboBox" name="cmbMapImageType" >
312
<property name="text" >
317
<property name="text" >
318
<string>gtiff</string>
322
<property name="text" >
323
<string>jpeg</string>
327
<property name="text" >
332
<property name="text" >
337
<property name="text" >
338
<string>userdefined</string>
342
<property name="text" >
343
<string>wbmp</string>
350
<item row="1" column="0" >
351
<layout class="QHBoxLayout" >
352
<property name="margin" >
355
<property name="spacing" >
359
<widget class="QLabel" name="textLabel2" >
360
<property name="text" >
361
<string>Width</string>
363
<property name="buddy" >
364
<cstring>txtMapWidth</cstring>
369
<widget class="QLineEdit" name="txtMapWidth" />
372
<widget class="QLabel" name="textLabel2_2" >
373
<property name="text" >
374
<string>Height</string>
376
<property name="buddy" >
377
<cstring>txtMapHeight</cstring>
382
<widget class="QLineEdit" name="txtMapHeight" />
386
<item row="0" column="0" >
387
<layout class="QHBoxLayout" >
388
<property name="margin" >
391
<property name="spacing" >
395
<widget class="QLabel" name="textLabel1" >
396
<property name="toolTip" >
399
<property name="text" >
400
<string>Name</string>
402
<property name="buddy" >
403
<cstring>txtMapName</cstring>
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>
419
<item row="0" column="0" >
420
<widget class="QLabel" name="textLabel7" >
421
<property name="text" >
422
<string>Map file</string>
424
<property name="buddy" >
425
<cstring>txtMapFilePath</cstring>
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>
436
<item row="1" column="2" >
437
<widget class="QPushButton" name="btnChooseProjectFile" >
438
<property name="text" >
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>
450
<item row="1" column="0" >
451
<widget class="QLabel" name="textLabel7_2" >
452
<property name="text" >
453
<string>QGIS project file</string>
455
<property name="buddy" >
456
<cstring>txtQgisFilePath</cstring>
460
<item row="0" column="2" >
461
<widget class="QPushButton" name="btnChooseFile" >
462
<property name="text" >
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>
472
<property name="text" >
473
<string>Export LAYER information only</string>
479
<layoutdefault spacing="6" margin="11" />
480
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
483
<class>Q3GroupBox</class>
485
<header>Qt3Support/Q3GroupBox</header>
486
<container>1</container>
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>
514
<sender>buttonCancel</sender>
515
<signal>clicked()</signal>
516
<receiver>QgsMapserverExportBase</receiver>
517
<slot>reject()</slot>
519
<hint type="sourcelabel" >
523
<hint type="destinationlabel" >
530
<sender>buttonOk</sender>
531
<signal>clicked()</signal>
532
<receiver>QgsMapserverExportBase</receiver>
533
<slot>accept()</slot>
535
<hint type="sourcelabel" >
539
<hint type="destinationlabel" >