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>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="QButtonGroup">
84 <property name="name">
85 <cstring>buttonGroup2</cstring>
87 <property name="sizePolicy">
89 <hsizetype>3</hsizetype>
90 <vsizetype>3</vsizetype>
91 <horstretch>0</horstretch>
92 <verstretch>0</verstretch>
95 <property name="minimumSize">
101 <property name="title">
102 <string>Options</string>
105 <property name="name">
106 <cstring>unnamed</cstring>
108 <widget class="QCheckBox">
109 <property name="name">
110 <cstring>imageButton</cstring>
112 <property name="text">
113 <string>Include image</string>
116 <widget class="QCheckBox">
117 <property name="name">
118 <cstring>textColorButton</cstring>
120 <property name="text">
121 <string>Colored headings in text</string>
124 <widget class="QCheckBox">
125 <property name="name">
126 <cstring>saveSettingsInMapButton</cstring>
128 <property name="text">
129 <string>Save settings in map</string>
132 <widget class="QCheckBox">
133 <property name="name">
134 <cstring>warningsButton</cstring>
136 <property name="text">
137 <string>showWarnings e.g. if directory is not empty</string>
140 <widget class="QCheckBox">
141 <property name="name">
142 <cstring>outputButton</cstring>
144 <property name="sizePolicy">
146 <hsizetype>1</hsizetype>
147 <vsizetype>0</vsizetype>
148 <horstretch>0</horstretch>
149 <verstretch>0</verstretch>
152 <property name="text">
153 <string>show output of external scripts</string>
158 <widget class="QButtonGroup">
159 <property name="name">
160 <cstring>buttonGroup2_2</cstring>
162 <property name="sizePolicy">
164 <hsizetype>3</hsizetype>
165 <vsizetype>3</vsizetype>
166 <horstretch>0</horstretch>
167 <verstretch>0</verstretch>
170 <property name="title">
171 <string>Stylesheets</string>
173 <widget class="QLayoutWidget">
174 <property name="name">
175 <cstring>layout19</cstring>
177 <property name="geometry">
186 <property name="name">
187 <cstring>unnamed</cstring>
189 <widget class="QLabel">
190 <property name="name">
191 <cstring>textLabel1_2</cstring>
193 <property name="text">
194 <string>CSS:</string>
196 <property name="alignment">
197 <set>AlignVCenter|AlignRight</set>
200 <widget class="QLineEdit">
201 <property name="name">
202 <cstring>lineEditCSS</cstring>
205 <widget class="QPushButton">
206 <property name="name">
207 <cstring>browseCSSButton</cstring>
209 <property name="sizePolicy">
211 <hsizetype>0</hsizetype>
212 <vsizetype>0</vsizetype>
213 <horstretch>0</horstretch>
214 <verstretch>0</verstretch>
217 <property name="text">
218 <string>Browse</string>
223 <widget class="QLayoutWidget">
224 <property name="name">
225 <cstring>layout20</cstring>
227 <property name="geometry">
236 <property name="name">
237 <cstring>unnamed</cstring>
239 <widget class="QLabel">
240 <property name="name">
241 <cstring>textLabel2</cstring>
243 <property name="text">
244 <string>XSL:</string>
246 <property name="alignment">
247 <set>AlignVCenter|AlignRight</set>
250 <widget class="QLineEdit">
251 <property name="name">
252 <cstring>lineEditXSL</cstring>
255 <widget class="QPushButton">
256 <property name="name">
257 <cstring>browseXSLButton</cstring>
259 <property name="sizePolicy">
261 <hsizetype>0</hsizetype>
262 <vsizetype>0</vsizetype>
263 <horstretch>0</horstretch>
264 <verstretch>0</verstretch>
267 <property name="text">
268 <string>Browse</string>
274 <widget class="QGroupBox">
275 <property name="name">
276 <cstring>groupBox1</cstring>
278 <property name="title">
279 <string>Scripts</string>
282 <widget class="QLayoutWidget">
283 <property name="name">
284 <cstring>layout34</cstring>
287 <property name="name">
288 <cstring>unnamed</cstring>
290 <widget class="QLabel" row="1" column="0">
291 <property name="name">
292 <cstring>textLabel2_2</cstring>
294 <property name="sizePolicy">
296 <hsizetype>1</hsizetype>
297 <vsizetype>5</vsizetype>
298 <horstretch>0</horstretch>
299 <verstretch>0</verstretch>
302 <property name="frameShape">
305 <property name="text">
306 <string>After Export:</string>
308 <property name="alignment">
309 <set>AlignVCenter|AlignRight</set>
312 <widget class="QPushButton" row="1" column="2">
313 <property name="name">
314 <cstring>browsePostExportButton</cstring>
316 <property name="sizePolicy">
318 <hsizetype>0</hsizetype>
319 <vsizetype>0</vsizetype>
320 <horstretch>0</horstretch>
321 <verstretch>0</verstretch>
324 <property name="text">
325 <string>Browse</string>
328 <widget class="QLineEdit" row="1" column="1">
329 <property name="name">
330 <cstring>lineEditPostScript</cstring>
333 <widget class="QPushButton" row="0" column="2">
334 <property name="name">
335 <cstring>browsePreExportButton</cstring>
337 <property name="sizePolicy">
339 <hsizetype>0</hsizetype>
340 <vsizetype>0</vsizetype>
341 <horstretch>0</horstretch>
342 <verstretch>0</verstretch>
345 <property name="text">
346 <string>Browse</string>
349 <widget class="QLineEdit" row="0" column="1">
350 <property name="name">
351 <cstring>lineEditPreScript</cstring>
354 <widget class="QLabel" row="0" column="0">
355 <property name="name">
356 <cstring>textLabel1_3</cstring>
358 <property name="sizePolicy">
360 <hsizetype>1</hsizetype>
361 <vsizetype>5</vsizetype>
362 <horstretch>0</horstretch>
363 <verstretch>0</verstretch>
366 <property name="text">
367 <string>Before export:</string>
369 <property name="alignment">
370 <set>AlignVCenter|AlignRight</set>
376 <property name="name">
377 <cstring>spacer3</cstring>
379 <property name="orientation">
380 <enum>Vertical</enum>
382 <property name="sizeType">
383 <enum>Expanding</enum>
385 <property name="sizeHint">
392 <widget class="QLayoutWidget">
393 <property name="name">
394 <cstring>layout17</cstring>
397 <property name="name">
398 <cstring>unnamed</cstring>
401 <property name="name">
402 <cstring>spacer5</cstring>
404 <property name="orientation">
405 <enum>Horizontal</enum>
407 <property name="sizeType">
408 <enum>Expanding</enum>
410 <property name="sizeHint">
417 <widget class="QPushButton">
418 <property name="name">
419 <cstring>exportButton</cstring>
421 <property name="text">
422 <string>Export</string>
424 <property name="default">
428 <widget class="QPushButton">
429 <property name="name">
430 <cstring>cancelButton</cstring>
432 <property name="text">
433 <string>Cancel</string>
442 <sender>outputButton</sender>
443 <signal>toggled(bool)</signal>
444 <receiver>ExportXHTMLDialog</receiver>
445 <slot>outputButtonPressed(bool)</slot>
448 <sender>exportButton</sender>
449 <signal>pressed()</signal>
450 <receiver>ExportXHTMLDialog</receiver>
451 <slot>accept()</slot>
454 <sender>cancelButton</sender>
455 <signal>pressed()</signal>
456 <receiver>ExportXHTMLDialog</receiver>
460 <sender>browseExportDirButton</sender>
461 <signal>pressed()</signal>
462 <receiver>ExportXHTMLDialog</receiver>
463 <slot>browseDirectoryPressed()</slot>
466 <sender>browseXSLButton</sender>
467 <signal>pressed()</signal>
468 <receiver>ExportXHTMLDialog</receiver>
469 <slot>browseXSLPressed()</slot>
472 <sender>browseCSSButton</sender>
473 <signal>pressed()</signal>
474 <receiver>ExportXHTMLDialog</receiver>
475 <slot>browseCSSPressed()</slot>
478 <sender>imageButton</sender>
479 <signal>toggled(bool)</signal>
480 <receiver>ExportXHTMLDialog</receiver>
481 <slot>imageButtonPressed(bool)</slot>
484 <sender>textColorButton</sender>
485 <signal>toggled(bool)</signal>
486 <receiver>ExportXHTMLDialog</receiver>
487 <slot>textcolorButtonPressed(bool)</slot>
490 <sender>lineEditDir</sender>
491 <signal>textChanged(const QString&)</signal>
492 <receiver>ExportXHTMLDialog</receiver>
493 <slot>dirChanged()</slot>
496 <sender>lineEditCSS</sender>
497 <signal>textChanged(const QString&)</signal>
498 <receiver>ExportXHTMLDialog</receiver>
499 <slot>cssChanged()</slot>
502 <sender>lineEditXSL</sender>
503 <signal>textChanged(const QString&)</signal>
504 <receiver>ExportXHTMLDialog</receiver>
505 <slot>xslChanged()</slot>
508 <sender>warningsButton</sender>
509 <signal>toggled(bool)</signal>
510 <receiver>ExportXHTMLDialog</receiver>
511 <slot>warningsButtonPressed(bool)</slot>
514 <sender>saveSettingsInMapButton</sender>
515 <signal>toggled(bool)</signal>
516 <receiver>ExportXHTMLDialog</receiver>
517 <slot>saveSettingsInMapButtonPressed(bool)</slot>
520 <sender>browsePreExportButton</sender>
521 <signal>pressed()</signal>
522 <receiver>ExportXHTMLDialog</receiver>
523 <slot>browsePreExportButtonPressed()</slot>
526 <sender>lineEditPreScript</sender>
527 <signal>textChanged(const QString&)</signal>
528 <receiver>ExportXHTMLDialog</receiver>
529 <slot>prescriptChanged()</slot>
532 <sender>lineEditPostScript</sender>
533 <signal>textChanged(const QString&)</signal>
534 <receiver>ExportXHTMLDialog</receiver>
535 <slot>postscriptChanged()</slot>
538 <sender>browsePostExportButton</sender>
539 <signal>pressed()</signal>
540 <receiver>ExportXHTMLDialog</receiver>
541 <slot>browsePostExportButtonPressed()</slot>
545 <include location="local" impldecl="in declaration">process.h</include>
546 <include location="local" impldecl="in declaration">showtextdialog.h</include>
547 <include location="global" impldecl="in implementation">qfiledialog.h</include>
548 <include location="global" impldecl="in implementation">qmessagebox.h</include>
549 <include location="local" impldecl="in implementation">settings.h</include>
550 <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
551 <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
554 <variable>bool useTextColor;</variable>
555 <variable>bool showWarnings;</variable>
556 <variable>QString xsl;</variable>
557 <variable>QString css;</variable>
558 <variable>bool useImage;</variable>
559 <variable>bool showOutput;</variable>
560 <variable>Process *xsltProc;</variable>
561 <variable>ShowTextDialog *dia;</variable>
562 <variable>QString dir;</variable>
563 <variable>QString xsltprocessor;</variable>
564 <variable>QString filepath;</variable>
565 <variable>QString prescript;</variable>
566 <variable>QString postscript;</variable>
567 <variable>bool settingsChanged;</variable>
568 <variable>QString mapname;</variable>
569 <variable>bool saveSettingsInMap;</variable>
572 <slot>readSettings()</slot>
573 <slot>dirChanged()</slot>
574 <slot>browseDirectoryPressed()</slot>
575 <slot>imageButtonPressed( bool b )</slot>
576 <slot>textcolorButtonPressed( bool b )</slot>
577 <slot>saveSettingsInMapButtonPressed( bool b )</slot>
578 <slot>warningsButtonPressed( bool b )</slot>
579 <slot>outputButtonPressed( bool b )</slot>
580 <slot>cssChanged()</slot>
581 <slot>browseCSSPressed()</slot>
582 <slot>xslChanged()</slot>
583 <slot>prescriptChanged()</slot>
584 <slot>browseXSLPressed()</slot>
585 <slot>postscriptChanged()</slot>
586 <slot>browsePreExportButtonPressed()</slot>
587 <slot>browsePostExportButtonPressed()</slot>
588 <slot>doExport( const QString & mapname )</slot>
589 <slot>setFilePath( const QString & s )</slot>
590 <slot>setMapName( const QString & s )</slot>
593 <function access="private" specifier="non virtual">init()</function>
594 <function access="private" specifier="non virtual">destroy()</function>
595 <function returnType="QString">getDir()</function>
596 <function returnType="bool">warnings()</function>
597 <function returnType="bool">hasChanged()</function>
598 <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
601 <layoutdefaults spacing="6" margin="11"/>