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" row="0" column="0">
29 <property name="name">
30 <cstring>layout17</cstring>
33 <property name="name">
34 <cstring>unnamed</cstring>
36 <widget class="QLabel">
37 <property name="name">
38 <cstring>textLabel1</cstring>
40 <property name="sizePolicy">
42 <hsizetype>1</hsizetype>
43 <vsizetype>5</vsizetype>
44 <horstretch>0</horstretch>
45 <verstretch>0</verstretch>
48 <property name="text">
49 <string>Export to directory:</string>
52 <widget class="QLineEdit">
53 <property name="name">
54 <cstring>lineEditDir</cstring>
56 <property name="sizePolicy">
58 <hsizetype>7</hsizetype>
59 <vsizetype>0</vsizetype>
60 <horstretch>0</horstretch>
61 <verstretch>0</verstretch>
65 <widget class="QPushButton">
66 <property name="name">
67 <cstring>browseExportDirButton</cstring>
69 <property name="sizePolicy">
71 <hsizetype>0</hsizetype>
72 <vsizetype>0</vsizetype>
73 <horstretch>0</horstretch>
74 <verstretch>0</verstretch>
77 <property name="text">
78 <string>Browse</string>
83 <widget class="QLayoutWidget" row="5" column="0">
84 <property name="name">
85 <cstring>layout17</cstring>
88 <property name="name">
89 <cstring>unnamed</cstring>
92 <property name="name">
93 <cstring>spacer5</cstring>
95 <property name="orientation">
96 <enum>Horizontal</enum>
98 <property name="sizeType">
99 <enum>Expanding</enum>
101 <property name="sizeHint">
108 <widget class="QPushButton">
109 <property name="name">
110 <cstring>exportButton</cstring>
112 <property name="text">
113 <string>Export</string>
115 <property name="default">
119 <widget class="QPushButton">
120 <property name="name">
121 <cstring>cancelButton</cstring>
123 <property name="text">
124 <string>Cancel</string>
129 <widget class="QButtonGroup" row="1" column="0">
130 <property name="name">
131 <cstring>buttonGroup2</cstring>
133 <property name="sizePolicy">
135 <hsizetype>5</hsizetype>
136 <vsizetype>5</vsizetype>
137 <horstretch>0</horstretch>
138 <verstretch>0</verstretch>
141 <property name="minimumSize">
147 <property name="title">
148 <string>Options</string>
151 <property name="name">
152 <cstring>unnamed</cstring>
154 <widget class="QCheckBox">
155 <property name="name">
156 <cstring>imageButton</cstring>
158 <property name="text">
159 <string>Include image</string>
162 <widget class="QCheckBox">
163 <property name="name">
164 <cstring>textColorButton</cstring>
166 <property name="text">
167 <string>Colored headings in text</string>
170 <widget class="QCheckBox">
171 <property name="name">
172 <cstring>saveSettingsInMapButton</cstring>
174 <property name="text">
175 <string>Save settings in map</string>
178 <widget class="QCheckBox">
179 <property name="name">
180 <cstring>warningsButton</cstring>
182 <property name="text">
183 <string>showWarnings e.g. if directory is not empty</string>
186 <widget class="QCheckBox">
187 <property name="name">
188 <cstring>outputButton</cstring>
190 <property name="sizePolicy">
192 <hsizetype>1</hsizetype>
193 <vsizetype>0</vsizetype>
194 <horstretch>0</horstretch>
195 <verstretch>0</verstretch>
198 <property name="text">
199 <string>show output of external scripts</string>
204 <widget class="QGroupBox" row="2" column="0">
205 <property name="name">
206 <cstring>groupBox2</cstring>
208 <property name="title">
209 <string>Stylesheets</string>
212 <property name="name">
213 <cstring>unnamed</cstring>
215 <widget class="QLayoutWidget" row="1" column="0">
216 <property name="name">
217 <cstring>layout7</cstring>
220 <property name="name">
221 <cstring>unnamed</cstring>
223 <widget class="QLabel">
224 <property name="name">
225 <cstring>textLabel2</cstring>
227 <property name="sizePolicy">
229 <hsizetype>0</hsizetype>
230 <vsizetype>5</vsizetype>
231 <horstretch>0</horstretch>
232 <verstretch>0</verstretch>
235 <property name="minimumSize">
241 <property name="text">
242 <string>XSL:</string>
244 <property name="alignment">
245 <set>AlignVCenter|AlignRight</set>
248 <widget class="QLineEdit">
249 <property name="name">
250 <cstring>lineEditXSL</cstring>
253 <widget class="QPushButton">
254 <property name="name">
255 <cstring>browseXSLButton</cstring>
257 <property name="sizePolicy">
259 <hsizetype>0</hsizetype>
260 <vsizetype>0</vsizetype>
261 <horstretch>0</horstretch>
262 <verstretch>0</verstretch>
265 <property name="text">
266 <string>Browse</string>
271 <widget class="QLayoutWidget" row="0" column="0">
272 <property name="name">
273 <cstring>layout6</cstring>
276 <property name="name">
277 <cstring>unnamed</cstring>
279 <widget class="QLabel">
280 <property name="name">
281 <cstring>textLabel1_2</cstring>
283 <property name="sizePolicy">
285 <hsizetype>0</hsizetype>
286 <vsizetype>5</vsizetype>
287 <horstretch>0</horstretch>
288 <verstretch>0</verstretch>
291 <property name="minimumSize">
297 <property name="text">
298 <string>CSS:</string>
300 <property name="alignment">
301 <set>AlignVCenter|AlignRight</set>
304 <widget class="QLineEdit">
305 <property name="name">
306 <cstring>lineEditCSS</cstring>
309 <widget class="QPushButton">
310 <property name="name">
311 <cstring>browseCSSButton</cstring>
313 <property name="sizePolicy">
315 <hsizetype>0</hsizetype>
316 <vsizetype>0</vsizetype>
317 <horstretch>0</horstretch>
318 <verstretch>0</verstretch>
321 <property name="text">
322 <string>Browse</string>
329 <widget class="QGroupBox" row="3" column="0">
330 <property name="name">
331 <cstring>groupBox1</cstring>
333 <property name="title">
334 <string>Scripts</string>
337 <property name="name">
338 <cstring>unnamed</cstring>
340 <widget class="QLayoutWidget" row="0" column="0">
341 <property name="name">
342 <cstring>layout4</cstring>
345 <property name="name">
346 <cstring>unnamed</cstring>
348 <widget class="QLabel">
349 <property name="name">
350 <cstring>textLabel1_3</cstring>
352 <property name="sizePolicy">
354 <hsizetype>0</hsizetype>
355 <vsizetype>5</vsizetype>
356 <horstretch>0</horstretch>
357 <verstretch>0</verstretch>
360 <property name="minimumSize">
366 <property name="text">
367 <string>Before export:</string>
369 <property name="alignment">
370 <set>AlignVCenter|AlignRight</set>
373 <widget class="QLineEdit">
374 <property name="name">
375 <cstring>lineEditPostScript</cstring>
378 <widget class="QPushButton">
379 <property name="name">
380 <cstring>browsePreExportButton</cstring>
382 <property name="sizePolicy">
384 <hsizetype>0</hsizetype>
385 <vsizetype>0</vsizetype>
386 <horstretch>0</horstretch>
387 <verstretch>0</verstretch>
390 <property name="text">
391 <string>Browse</string>
396 <widget class="QLayoutWidget" row="1" column="0">
397 <property name="name">
398 <cstring>layout5</cstring>
401 <property name="name">
402 <cstring>unnamed</cstring>
404 <widget class="QLabel">
405 <property name="name">
406 <cstring>textLabel2_2</cstring>
408 <property name="sizePolicy">
410 <hsizetype>0</hsizetype>
411 <vsizetype>5</vsizetype>
412 <horstretch>0</horstretch>
413 <verstretch>0</verstretch>
416 <property name="minimumSize">
422 <property name="frameShape">
425 <property name="text">
426 <string>After Export:</string>
428 <property name="alignment">
429 <set>AlignVCenter|AlignRight</set>
432 <widget class="QLineEdit">
433 <property name="name">
434 <cstring>lineEditPreScript</cstring>
437 <widget class="QPushButton">
438 <property name="name">
439 <cstring>browsePostExportButton</cstring>
441 <property name="sizePolicy">
443 <hsizetype>0</hsizetype>
444 <vsizetype>0</vsizetype>
445 <horstretch>0</horstretch>
446 <verstretch>0</verstretch>
449 <property name="text">
450 <string>Browse</string>
457 <spacer row="4" column="0">
458 <property name="name">
459 <cstring>spacer3</cstring>
461 <property name="orientation">
462 <enum>Vertical</enum>
464 <property name="sizeType">
465 <enum>MinimumExpanding</enum>
467 <property name="sizeHint">
478 <sender>outputButton</sender>
479 <signal>toggled(bool)</signal>
480 <receiver>ExportXHTMLDialog</receiver>
481 <slot>outputButtonPressed(bool)</slot>
484 <sender>exportButton</sender>
485 <signal>pressed()</signal>
486 <receiver>ExportXHTMLDialog</receiver>
487 <slot>accept()</slot>
490 <sender>cancelButton</sender>
491 <signal>pressed()</signal>
492 <receiver>ExportXHTMLDialog</receiver>
496 <sender>browseExportDirButton</sender>
497 <signal>pressed()</signal>
498 <receiver>ExportXHTMLDialog</receiver>
499 <slot>browseDirectoryPressed()</slot>
502 <sender>browseXSLButton</sender>
503 <signal>pressed()</signal>
504 <receiver>ExportXHTMLDialog</receiver>
505 <slot>browseXSLPressed()</slot>
508 <sender>browseCSSButton</sender>
509 <signal>pressed()</signal>
510 <receiver>ExportXHTMLDialog</receiver>
511 <slot>browseCSSPressed()</slot>
514 <sender>imageButton</sender>
515 <signal>toggled(bool)</signal>
516 <receiver>ExportXHTMLDialog</receiver>
517 <slot>imageButtonPressed(bool)</slot>
520 <sender>textColorButton</sender>
521 <signal>toggled(bool)</signal>
522 <receiver>ExportXHTMLDialog</receiver>
523 <slot>textcolorButtonPressed(bool)</slot>
526 <sender>lineEditDir</sender>
527 <signal>textChanged(const QString&)</signal>
528 <receiver>ExportXHTMLDialog</receiver>
529 <slot>dirChanged()</slot>
532 <sender>lineEditCSS</sender>
533 <signal>textChanged(const QString&)</signal>
534 <receiver>ExportXHTMLDialog</receiver>
535 <slot>cssChanged()</slot>
538 <sender>lineEditXSL</sender>
539 <signal>textChanged(const QString&)</signal>
540 <receiver>ExportXHTMLDialog</receiver>
541 <slot>xslChanged()</slot>
544 <sender>warningsButton</sender>
545 <signal>toggled(bool)</signal>
546 <receiver>ExportXHTMLDialog</receiver>
547 <slot>warningsButtonPressed(bool)</slot>
550 <sender>saveSettingsInMapButton</sender>
551 <signal>toggled(bool)</signal>
552 <receiver>ExportXHTMLDialog</receiver>
553 <slot>saveSettingsInMapButtonPressed(bool)</slot>
556 <sender>browsePreExportButton</sender>
557 <signal>pressed()</signal>
558 <receiver>ExportXHTMLDialog</receiver>
559 <slot>browsePreExportButtonPressed()</slot>
562 <sender>lineEditPreScript</sender>
563 <signal>textChanged(const QString&)</signal>
564 <receiver>ExportXHTMLDialog</receiver>
565 <slot>prescriptChanged()</slot>
568 <sender>lineEditPostScript</sender>
569 <signal>textChanged(const QString&)</signal>
570 <receiver>ExportXHTMLDialog</receiver>
571 <slot>postscriptChanged()</slot>
574 <sender>browsePostExportButton</sender>
575 <signal>pressed()</signal>
576 <receiver>ExportXHTMLDialog</receiver>
577 <slot>browsePostExportButtonPressed()</slot>
581 <include location="local" impldecl="in declaration">process.h</include>
582 <include location="local" impldecl="in declaration">showtextdialog.h</include>
583 <include location="global" impldecl="in implementation">qfiledialog.h</include>
584 <include location="global" impldecl="in implementation">qmessagebox.h</include>
585 <include location="local" impldecl="in implementation">settings.h</include>
586 <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
587 <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
590 <variable>bool useTextColor;</variable>
591 <variable>bool showWarnings;</variable>
592 <variable>QString xsl;</variable>
593 <variable>QString css;</variable>
594 <variable>bool useImage;</variable>
595 <variable>bool showOutput;</variable>
596 <variable>Process *xsltProc;</variable>
597 <variable>ShowTextDialog *dia;</variable>
598 <variable>QString dir;</variable>
599 <variable>QString xsltprocessor;</variable>
600 <variable>QString filepath;</variable>
601 <variable>QString prescript;</variable>
602 <variable>QString postscript;</variable>
603 <variable>bool settingsChanged;</variable>
604 <variable>QString mapname;</variable>
605 <variable>bool saveSettingsInMap;</variable>
608 <slot>readSettings()</slot>
609 <slot>dirChanged()</slot>
610 <slot>browseDirectoryPressed()</slot>
611 <slot>imageButtonPressed( bool b )</slot>
612 <slot>textcolorButtonPressed( bool b )</slot>
613 <slot>saveSettingsInMapButtonPressed( bool b )</slot>
614 <slot>warningsButtonPressed( bool b )</slot>
615 <slot>outputButtonPressed( bool b )</slot>
616 <slot>cssChanged()</slot>
617 <slot>browseCSSPressed()</slot>
618 <slot>xslChanged()</slot>
619 <slot>prescriptChanged()</slot>
620 <slot>browseXSLPressed()</slot>
621 <slot>postscriptChanged()</slot>
622 <slot>browsePreExportButtonPressed()</slot>
623 <slot>browsePostExportButtonPressed()</slot>
624 <slot>doExport( const QString & mapname )</slot>
625 <slot>setFilePath( const QString & s )</slot>
626 <slot>setMapName( const QString & s )</slot>
629 <function access="private" specifier="non virtual">init()</function>
630 <function access="private" specifier="non virtual">destroy()</function>
631 <function returnType="QString">getDir()</function>
632 <function returnType="bool">warnings()</function>
633 <function returnType="bool">hasChanged()</function>
634 <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
637 <layoutdefaults spacing="6" margin="11"/>