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="QLayoutWidget">
159 <property name="name">
160 <cstring>layout6</cstring>
163 <property name="name">
164 <cstring>unnamed</cstring>
166 <widget class="QPushButton" row="5" column="3">
167 <property name="name">
168 <cstring>browsePostExportButton</cstring>
170 <property name="sizePolicy">
172 <hsizetype>0</hsizetype>
173 <vsizetype>0</vsizetype>
174 <horstretch>0</horstretch>
175 <verstretch>0</verstretch>
178 <property name="text">
179 <string>Browse</string>
182 <widget class="QLabel" row="4" column="0" rowspan="1" colspan="2">
183 <property name="name">
184 <cstring>textLabel1_3</cstring>
186 <property name="sizePolicy">
188 <hsizetype>1</hsizetype>
189 <vsizetype>5</vsizetype>
190 <horstretch>0</horstretch>
191 <verstretch>0</verstretch>
194 <property name="text">
195 <string>Before export:</string>
197 <property name="alignment">
198 <set>AlignVCenter|AlignRight</set>
201 <widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
202 <property name="name">
203 <cstring>lineEditXSL</cstring>
206 <widget class="QPushButton" row="2" column="3">
207 <property name="name">
208 <cstring>browseXSLButton</cstring>
210 <property name="sizePolicy">
212 <hsizetype>0</hsizetype>
213 <vsizetype>0</vsizetype>
214 <horstretch>0</horstretch>
215 <verstretch>0</verstretch>
218 <property name="text">
219 <string>Browse</string>
222 <widget class="QLineEdit" row="4" column="2">
223 <property name="name">
224 <cstring>lineEditPreScript</cstring>
227 <widget class="QPushButton" row="4" column="3">
228 <property name="name">
229 <cstring>browsePreExportButton</cstring>
231 <property name="sizePolicy">
233 <hsizetype>0</hsizetype>
234 <vsizetype>0</vsizetype>
235 <horstretch>0</horstretch>
236 <verstretch>0</verstretch>
239 <property name="text">
240 <string>Browse</string>
243 <widget class="QLabel" row="0" column="0">
244 <property name="name">
245 <cstring>textLabel2_3</cstring>
247 <property name="text">
248 <string>Stylesheets:</string>
251 <widget class="QPushButton" row="1" column="3">
252 <property name="name">
253 <cstring>browseCSSButton</cstring>
255 <property name="sizePolicy">
257 <hsizetype>0</hsizetype>
258 <vsizetype>0</vsizetype>
259 <horstretch>0</horstretch>
260 <verstretch>0</verstretch>
263 <property name="text">
264 <string>Browse</string>
267 <widget class="QLabel" row="1" column="0">
268 <property name="name">
269 <cstring>textLabel1_2</cstring>
271 <property name="text">
272 <string>CSS:</string>
274 <property name="alignment">
275 <set>AlignVCenter|AlignRight</set>
278 <widget class="QLabel" row="5" column="0" rowspan="1" colspan="2">
279 <property name="name">
280 <cstring>textLabel2_2</cstring>
282 <property name="sizePolicy">
284 <hsizetype>1</hsizetype>
285 <vsizetype>5</vsizetype>
286 <horstretch>0</horstretch>
287 <verstretch>0</verstretch>
290 <property name="frameShape">
293 <property name="text">
294 <string>After Export:</string>
296 <property name="alignment">
297 <set>AlignVCenter|AlignRight</set>
300 <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="2">
301 <property name="name">
302 <cstring>lineEditCSS</cstring>
305 <widget class="QLabel" row="2" column="0">
306 <property name="name">
307 <cstring>textLabel2</cstring>
309 <property name="text">
310 <string>XSL:</string>
312 <property name="alignment">
313 <set>AlignVCenter|AlignRight</set>
316 <widget class="QLineEdit" row="5" column="2">
317 <property name="name">
318 <cstring>lineEditPostScript</cstring>
321 <widget class="QLabel" row="3" column="0">
322 <property name="name">
323 <cstring>textLabel1_4</cstring>
325 <property name="text">
326 <string>Scripts:</string>
332 <property name="name">
333 <cstring>spacer3</cstring>
335 <property name="orientation">
336 <enum>Vertical</enum>
338 <property name="sizeType">
339 <enum>Expanding</enum>
341 <property name="sizeHint">
348 <widget class="QLayoutWidget">
349 <property name="name">
350 <cstring>layout17</cstring>
353 <property name="name">
354 <cstring>unnamed</cstring>
357 <property name="name">
358 <cstring>spacer5</cstring>
360 <property name="orientation">
361 <enum>Horizontal</enum>
363 <property name="sizeType">
364 <enum>Expanding</enum>
366 <property name="sizeHint">
373 <widget class="QPushButton">
374 <property name="name">
375 <cstring>exportButton</cstring>
377 <property name="text">
378 <string>Export</string>
380 <property name="default">
384 <widget class="QPushButton">
385 <property name="name">
386 <cstring>cancelButton</cstring>
388 <property name="text">
389 <string>Cancel</string>
398 <sender>outputButton</sender>
399 <signal>toggled(bool)</signal>
400 <receiver>ExportXHTMLDialog</receiver>
401 <slot>outputButtonPressed(bool)</slot>
404 <sender>exportButton</sender>
405 <signal>pressed()</signal>
406 <receiver>ExportXHTMLDialog</receiver>
407 <slot>accept()</slot>
410 <sender>cancelButton</sender>
411 <signal>pressed()</signal>
412 <receiver>ExportXHTMLDialog</receiver>
416 <sender>browseExportDirButton</sender>
417 <signal>pressed()</signal>
418 <receiver>ExportXHTMLDialog</receiver>
419 <slot>browseDirectoryPressed()</slot>
422 <sender>browseXSLButton</sender>
423 <signal>pressed()</signal>
424 <receiver>ExportXHTMLDialog</receiver>
425 <slot>browseXSLPressed()</slot>
428 <sender>browseCSSButton</sender>
429 <signal>pressed()</signal>
430 <receiver>ExportXHTMLDialog</receiver>
431 <slot>browseCSSPressed()</slot>
434 <sender>imageButton</sender>
435 <signal>toggled(bool)</signal>
436 <receiver>ExportXHTMLDialog</receiver>
437 <slot>imageButtonPressed(bool)</slot>
440 <sender>textColorButton</sender>
441 <signal>toggled(bool)</signal>
442 <receiver>ExportXHTMLDialog</receiver>
443 <slot>textcolorButtonPressed(bool)</slot>
446 <sender>lineEditDir</sender>
447 <signal>textChanged(const QString&)</signal>
448 <receiver>ExportXHTMLDialog</receiver>
449 <slot>dirChanged()</slot>
452 <sender>lineEditCSS</sender>
453 <signal>textChanged(const QString&)</signal>
454 <receiver>ExportXHTMLDialog</receiver>
455 <slot>cssChanged()</slot>
458 <sender>lineEditXSL</sender>
459 <signal>textChanged(const QString&)</signal>
460 <receiver>ExportXHTMLDialog</receiver>
461 <slot>xslChanged()</slot>
464 <sender>warningsButton</sender>
465 <signal>toggled(bool)</signal>
466 <receiver>ExportXHTMLDialog</receiver>
467 <slot>warningsButtonPressed(bool)</slot>
470 <sender>saveSettingsInMapButton</sender>
471 <signal>toggled(bool)</signal>
472 <receiver>ExportXHTMLDialog</receiver>
473 <slot>saveSettingsInMapButtonPressed(bool)</slot>
476 <sender>browsePreExportButton</sender>
477 <signal>pressed()</signal>
478 <receiver>ExportXHTMLDialog</receiver>
479 <slot>browsePreExportButtonPressed()</slot>
482 <sender>lineEditPreScript</sender>
483 <signal>textChanged(const QString&)</signal>
484 <receiver>ExportXHTMLDialog</receiver>
485 <slot>prescriptChanged()</slot>
488 <sender>lineEditPostScript</sender>
489 <signal>textChanged(const QString&)</signal>
490 <receiver>ExportXHTMLDialog</receiver>
491 <slot>postscriptChanged()</slot>
494 <sender>browsePostExportButton</sender>
495 <signal>pressed()</signal>
496 <receiver>ExportXHTMLDialog</receiver>
497 <slot>browsePostExportButtonPressed()</slot>
501 <include location="local" impldecl="in declaration">process.h</include>
502 <include location="local" impldecl="in declaration">showtextdialog.h</include>
503 <include location="global" impldecl="in implementation">qfiledialog.h</include>
504 <include location="global" impldecl="in implementation">qmessagebox.h</include>
505 <include location="local" impldecl="in implementation">settings.h</include>
506 <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
507 <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
510 <variable>bool useTextColor;</variable>
511 <variable>bool showWarnings;</variable>
512 <variable>QString xsl;</variable>
513 <variable>QString css;</variable>
514 <variable>bool useImage;</variable>
515 <variable>bool showOutput;</variable>
516 <variable>Process *xsltProc;</variable>
517 <variable>ShowTextDialog *dia;</variable>
518 <variable>QString dir;</variable>
519 <variable>QString xsltprocessor;</variable>
520 <variable>QString filepath;</variable>
521 <variable>QString prescript;</variable>
522 <variable>QString postscript;</variable>
523 <variable>bool settingsChanged;</variable>
524 <variable>QString mapname;</variable>
525 <variable>bool saveSettingsInMap;</variable>
528 <slot>readSettings()</slot>
529 <slot>dirChanged()</slot>
530 <slot>browseDirectoryPressed()</slot>
531 <slot>imageButtonPressed( bool b )</slot>
532 <slot>textcolorButtonPressed( bool b )</slot>
533 <slot>saveSettingsInMapButtonPressed( bool b )</slot>
534 <slot>warningsButtonPressed( bool b )</slot>
535 <slot>outputButtonPressed( bool b )</slot>
536 <slot>cssChanged()</slot>
537 <slot>browseCSSPressed()</slot>
538 <slot>xslChanged()</slot>
539 <slot>prescriptChanged()</slot>
540 <slot>browseXSLPressed()</slot>
541 <slot>postscriptChanged()</slot>
542 <slot>browsePreExportButtonPressed()</slot>
543 <slot>browsePostExportButtonPressed()</slot>
544 <slot>doExport( const QString & mapname )</slot>
545 <slot>setFilePath( const QString & s )</slot>
546 <slot>setMapName( const QString & s )</slot>
549 <function access="private" specifier="non virtual">init()</function>
550 <function access="private" specifier="non virtual">destroy()</function>
551 <function returnType="QString">getDir()</function>
552 <function returnType="bool">warnings()</function>
553 <function returnType="bool">hasChanged()</function>
554 <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
557 <layoutdefaults spacing="6" margin="11"/>