1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>ExportXHTMLDialog</class>
3 <widget class="QDialog">
5 <cstring>ExportXHTMLDialog</cstring>
7 <property name="geometry">
15 <property name="minimumSize">
21 <property name="caption">
22 <string>Export XHTML</string>
25 <property name="name">
26 <cstring>unnamed</cstring>
28 <widget class="QLayoutWidget">
29 <property name="name">
30 <cstring>layout33</cstring>
33 <property name="name">
34 <cstring>unnamed</cstring>
36 <widget class="QLabel">
37 <property name="name">
38 <cstring>textLabel1</cstring>
40 <property name="text">
41 <string>Export to directory:</string>
44 <widget class="QLineEdit">
45 <property name="name">
46 <cstring>lineEditDir</cstring>
49 <widget class="QPushButton">
50 <property name="name">
51 <cstring>browseExportDirButton</cstring>
53 <property name="text">
54 <string>Browse</string>
59 <widget class="QButtonGroup">
60 <property name="name">
61 <cstring>buttonGroup2</cstring>
63 <property name="sizePolicy">
65 <hsizetype>3</hsizetype>
66 <vsizetype>3</vsizetype>
67 <horstretch>0</horstretch>
68 <verstretch>0</verstretch>
71 <property name="minimumSize">
77 <property name="title">
78 <string>Options</string>
81 <property name="name">
82 <cstring>unnamed</cstring>
84 <widget class="QCheckBox">
85 <property name="name">
86 <cstring>imageButton</cstring>
88 <property name="text">
89 <string>Include image</string>
92 <widget class="QCheckBox">
93 <property name="name">
94 <cstring>textColorButton</cstring>
96 <property name="text">
97 <string>Colored headings in text</string>
100 <widget class="QCheckBox">
101 <property name="name">
102 <cstring>saveSettingsInMapButton</cstring>
104 <property name="text">
105 <string>Save settings in map</string>
108 <widget class="QCheckBox">
109 <property name="name">
110 <cstring>warningsButton</cstring>
112 <property name="text">
113 <string>showWarnings e.g. if directory is not empty</string>
116 <widget class="QCheckBox">
117 <property name="name">
118 <cstring>outputButton</cstring>
120 <property name="sizePolicy">
122 <hsizetype>1</hsizetype>
123 <vsizetype>0</vsizetype>
124 <horstretch>0</horstretch>
125 <verstretch>0</verstretch>
128 <property name="text">
129 <string>show output of external scripts</string>
134 <widget class="QButtonGroup">
135 <property name="name">
136 <cstring>buttonGroup2_2</cstring>
138 <property name="sizePolicy">
140 <hsizetype>3</hsizetype>
141 <vsizetype>3</vsizetype>
142 <horstretch>0</horstretch>
143 <verstretch>0</verstretch>
146 <property name="title">
147 <string>Stylesheets</string>
149 <widget class="QLayoutWidget">
150 <property name="name">
151 <cstring>layout7</cstring>
153 <property name="geometry">
162 <property name="name">
163 <cstring>unnamed</cstring>
165 <widget class="QLayoutWidget">
166 <property name="name">
167 <cstring>layout5</cstring>
170 <property name="name">
171 <cstring>unnamed</cstring>
173 <widget class="QLabel">
174 <property name="name">
175 <cstring>textLabel1_2</cstring>
177 <property name="text">
178 <string>CSS:</string>
181 <widget class="QLineEdit">
182 <property name="name">
183 <cstring>lineEditCSS</cstring>
186 <widget class="QPushButton">
187 <property name="name">
188 <cstring>browseCSSButton</cstring>
190 <property name="text">
191 <string>Browse</string>
196 <widget class="QLayoutWidget">
197 <property name="name">
198 <cstring>layout6</cstring>
201 <property name="name">
202 <cstring>unnamed</cstring>
204 <widget class="QLabel">
205 <property name="name">
206 <cstring>textLabel2</cstring>
208 <property name="text">
209 <string>XSL:</string>
212 <widget class="QLineEdit">
213 <property name="name">
214 <cstring>lineEditXSL</cstring>
217 <widget class="QPushButton">
218 <property name="name">
219 <cstring>browseXSLButton</cstring>
221 <property name="text">
222 <string>Browse</string>
230 <widget class="QGroupBox">
231 <property name="name">
232 <cstring>groupBox1</cstring>
234 <property name="title">
235 <string>Scripts</string>
237 <widget class="QLabel">
238 <property name="name">
239 <cstring>textLabel1_3</cstring>
241 <property name="geometry">
249 <property name="text">
250 <string>Before export:</string>
253 <widget class="QLineEdit">
254 <property name="name">
255 <cstring>lineEditPreScript</cstring>
257 <property name="geometry">
266 <widget class="QPushButton">
267 <property name="name">
268 <cstring>browsePreExportButton</cstring>
270 <property name="geometry">
278 <property name="text">
279 <string>Browse</string>
282 <widget class="QLabel">
283 <property name="name">
284 <cstring>textLabel2_2</cstring>
286 <property name="geometry">
294 <property name="text">
295 <string>After Export:</string>
298 <widget class="QLineEdit">
299 <property name="name">
300 <cstring>lineEditPostScript</cstring>
302 <property name="geometry">
311 <widget class="QPushButton">
312 <property name="name">
313 <cstring>browsePostExportButton</cstring>
315 <property name="geometry">
323 <property name="text">
324 <string>Browse</string>
329 <property name="name">
330 <cstring>spacer3</cstring>
332 <property name="orientation">
333 <enum>Vertical</enum>
335 <property name="sizeType">
336 <enum>Expanding</enum>
338 <property name="sizeHint">
345 <widget class="QLayoutWidget">
346 <property name="name">
347 <cstring>layout17</cstring>
350 <property name="name">
351 <cstring>unnamed</cstring>
354 <property name="name">
355 <cstring>spacer5</cstring>
357 <property name="orientation">
358 <enum>Horizontal</enum>
360 <property name="sizeType">
361 <enum>Expanding</enum>
363 <property name="sizeHint">
370 <widget class="QPushButton">
371 <property name="name">
372 <cstring>exportButton</cstring>
374 <property name="text">
375 <string>Export</string>
377 <property name="default">
381 <widget class="QPushButton">
382 <property name="name">
383 <cstring>cancelButton</cstring>
385 <property name="text">
386 <string>Cancel</string>
395 <sender>outputButton</sender>
396 <signal>toggled(bool)</signal>
397 <receiver>ExportXHTMLDialog</receiver>
398 <slot>outputButtonPressed(bool)</slot>
401 <sender>exportButton</sender>
402 <signal>pressed()</signal>
403 <receiver>ExportXHTMLDialog</receiver>
404 <slot>accept()</slot>
407 <sender>cancelButton</sender>
408 <signal>pressed()</signal>
409 <receiver>ExportXHTMLDialog</receiver>
413 <sender>browseExportDirButton</sender>
414 <signal>pressed()</signal>
415 <receiver>ExportXHTMLDialog</receiver>
416 <slot>browseDirectoryPressed()</slot>
419 <sender>browseXSLButton</sender>
420 <signal>pressed()</signal>
421 <receiver>ExportXHTMLDialog</receiver>
422 <slot>browseXSLPressed()</slot>
425 <sender>browseCSSButton</sender>
426 <signal>pressed()</signal>
427 <receiver>ExportXHTMLDialog</receiver>
428 <slot>browseCSSPressed()</slot>
431 <sender>imageButton</sender>
432 <signal>toggled(bool)</signal>
433 <receiver>ExportXHTMLDialog</receiver>
434 <slot>imageButtonPressed(bool)</slot>
437 <sender>textColorButton</sender>
438 <signal>toggled(bool)</signal>
439 <receiver>ExportXHTMLDialog</receiver>
440 <slot>textcolorButtonPressed(bool)</slot>
443 <sender>lineEditDir</sender>
444 <signal>textChanged(const QString&)</signal>
445 <receiver>ExportXHTMLDialog</receiver>
446 <slot>dirChanged()</slot>
449 <sender>lineEditCSS</sender>
450 <signal>textChanged(const QString&)</signal>
451 <receiver>ExportXHTMLDialog</receiver>
452 <slot>cssChanged()</slot>
455 <sender>lineEditXSL</sender>
456 <signal>textChanged(const QString&)</signal>
457 <receiver>ExportXHTMLDialog</receiver>
458 <slot>xslChanged()</slot>
461 <sender>browsePreExportButton</sender>
462 <signal>pressed()</signal>
463 <receiver>ExportXHTMLDialog</receiver>
464 <slot>browsePreExportButtonPressed()</slot>
467 <sender>browsePostExportButton</sender>
468 <signal>pressed()</signal>
469 <receiver>ExportXHTMLDialog</receiver>
470 <slot>browsePostExportButtonPressed()</slot>
473 <sender>lineEditPreScript</sender>
474 <signal>textChanged(const QString&)</signal>
475 <receiver>ExportXHTMLDialog</receiver>
476 <slot>prescriptChanged()</slot>
479 <sender>lineEditPostScript</sender>
480 <signal>textChanged(const QString&)</signal>
481 <receiver>ExportXHTMLDialog</receiver>
482 <slot>postscriptChanged()</slot>
485 <sender>warningsButton</sender>
486 <signal>toggled(bool)</signal>
487 <receiver>ExportXHTMLDialog</receiver>
488 <slot>warningsButtonPressed(bool)</slot>
491 <sender>saveSettingsInMapButton</sender>
492 <signal>toggled(bool)</signal>
493 <receiver>ExportXHTMLDialog</receiver>
494 <slot>saveSettingsInMapButtonPressed(bool)</slot>
498 <include location="local" impldecl="in declaration">process.h</include>
499 <include location="local" impldecl="in declaration">showtextdialog.h</include>
500 <include location="global" impldecl="in implementation">qfiledialog.h</include>
501 <include location="global" impldecl="in implementation">qmessagebox.h</include>
502 <include location="local" impldecl="in implementation">settings.h</include>
503 <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
504 <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
507 <variable>bool useTextColor;</variable>
508 <variable>bool showWarnings;</variable>
509 <variable>QString xsl;</variable>
510 <variable>QString css;</variable>
511 <variable>bool useImage;</variable>
512 <variable>bool showOutput;</variable>
513 <variable>Process *xsltProc;</variable>
514 <variable>ShowTextDialog *dia;</variable>
515 <variable>QString dir;</variable>
516 <variable>QString xsltprocessor;</variable>
517 <variable>QString filepath;</variable>
518 <variable>QString prescript;</variable>
519 <variable>QString postscript;</variable>
520 <variable>bool settingsChanged;</variable>
521 <variable>QString mapname;</variable>
522 <variable>bool saveSettingsInMap;</variable>
525 <slot>readSettings()</slot>
526 <slot>dirChanged()</slot>
527 <slot>browseDirectoryPressed()</slot>
528 <slot>imageButtonPressed( bool b )</slot>
529 <slot>textcolorButtonPressed( bool b )</slot>
530 <slot>saveSettingsInMapButtonPressed( bool b )</slot>
531 <slot>warningsButtonPressed( bool b )</slot>
532 <slot>outputButtonPressed( bool b )</slot>
533 <slot>cssChanged()</slot>
534 <slot>browseCSSPressed()</slot>
535 <slot>xslChanged()</slot>
536 <slot>prescriptChanged()</slot>
537 <slot>browseXSLPressed()</slot>
538 <slot>postscriptChanged()</slot>
539 <slot>browsePreExportButtonPressed()</slot>
540 <slot>browsePostExportButtonPressed()</slot>
541 <slot>doExport( const QString & mapname )</slot>
542 <slot>setFilePath( const QString & s )</slot>
543 <slot>setMapName( const QString & s )</slot>
546 <function access="private" specifier="non virtual">init()</function>
547 <function access="private" specifier="non virtual">destroy()</function>
548 <function returnType="QString">getDir()</function>
549 <function returnType="bool">warnings()</function>
550 <function returnType="bool">hasChanged()</function>
551 <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
554 <layoutdefaults spacing="6" margin="11"/>