1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/exportxhtmldialog.ui Tue Mar 10 11:27:17 2009 +0000
1.3 @@ -0,0 +1,555 @@
1.4 +<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
1.5 +<class>ExportXHTMLDialog</class>
1.6 +<widget class="QDialog">
1.7 + <property name="name">
1.8 + <cstring>ExportXHTMLDialog</cstring>
1.9 + </property>
1.10 + <property name="geometry">
1.11 + <rect>
1.12 + <x>0</x>
1.13 + <y>0</y>
1.14 + <width>582</width>
1.15 + <height>599</height>
1.16 + </rect>
1.17 + </property>
1.18 + <property name="minimumSize">
1.19 + <size>
1.20 + <width>0</width>
1.21 + <height>130</height>
1.22 + </size>
1.23 + </property>
1.24 + <property name="caption">
1.25 + <string>Export XHTML</string>
1.26 + </property>
1.27 + <vbox>
1.28 + <property name="name">
1.29 + <cstring>unnamed</cstring>
1.30 + </property>
1.31 + <widget class="QLayoutWidget">
1.32 + <property name="name">
1.33 + <cstring>layout33</cstring>
1.34 + </property>
1.35 + <hbox>
1.36 + <property name="name">
1.37 + <cstring>unnamed</cstring>
1.38 + </property>
1.39 + <widget class="QLabel">
1.40 + <property name="name">
1.41 + <cstring>textLabel1</cstring>
1.42 + </property>
1.43 + <property name="text">
1.44 + <string>Export to directory:</string>
1.45 + </property>
1.46 + </widget>
1.47 + <widget class="QLineEdit">
1.48 + <property name="name">
1.49 + <cstring>lineEditDir</cstring>
1.50 + </property>
1.51 + </widget>
1.52 + <widget class="QPushButton">
1.53 + <property name="name">
1.54 + <cstring>browseExportDirButton</cstring>
1.55 + </property>
1.56 + <property name="text">
1.57 + <string>Browse</string>
1.58 + </property>
1.59 + </widget>
1.60 + </hbox>
1.61 + </widget>
1.62 + <widget class="QButtonGroup">
1.63 + <property name="name">
1.64 + <cstring>buttonGroup2</cstring>
1.65 + </property>
1.66 + <property name="sizePolicy">
1.67 + <sizepolicy>
1.68 + <hsizetype>3</hsizetype>
1.69 + <vsizetype>3</vsizetype>
1.70 + <horstretch>0</horstretch>
1.71 + <verstretch>0</verstretch>
1.72 + </sizepolicy>
1.73 + </property>
1.74 + <property name="minimumSize">
1.75 + <size>
1.76 + <width>0</width>
1.77 + <height>160</height>
1.78 + </size>
1.79 + </property>
1.80 + <property name="title">
1.81 + <string>Options</string>
1.82 + </property>
1.83 + <vbox>
1.84 + <property name="name">
1.85 + <cstring>unnamed</cstring>
1.86 + </property>
1.87 + <widget class="QCheckBox">
1.88 + <property name="name">
1.89 + <cstring>imageButton</cstring>
1.90 + </property>
1.91 + <property name="text">
1.92 + <string>Include image</string>
1.93 + </property>
1.94 + </widget>
1.95 + <widget class="QCheckBox">
1.96 + <property name="name">
1.97 + <cstring>textColorButton</cstring>
1.98 + </property>
1.99 + <property name="text">
1.100 + <string>Colored headings in text</string>
1.101 + </property>
1.102 + </widget>
1.103 + <widget class="QCheckBox">
1.104 + <property name="name">
1.105 + <cstring>saveSettingsInMapButton</cstring>
1.106 + </property>
1.107 + <property name="text">
1.108 + <string>Save settings in map</string>
1.109 + </property>
1.110 + </widget>
1.111 + <widget class="QCheckBox">
1.112 + <property name="name">
1.113 + <cstring>warningsButton</cstring>
1.114 + </property>
1.115 + <property name="text">
1.116 + <string>showWarnings e.g. if directory is not empty</string>
1.117 + </property>
1.118 + </widget>
1.119 + <widget class="QCheckBox">
1.120 + <property name="name">
1.121 + <cstring>outputButton</cstring>
1.122 + </property>
1.123 + <property name="sizePolicy">
1.124 + <sizepolicy>
1.125 + <hsizetype>1</hsizetype>
1.126 + <vsizetype>0</vsizetype>
1.127 + <horstretch>0</horstretch>
1.128 + <verstretch>0</verstretch>
1.129 + </sizepolicy>
1.130 + </property>
1.131 + <property name="text">
1.132 + <string>show output of external scripts</string>
1.133 + </property>
1.134 + </widget>
1.135 + </vbox>
1.136 + </widget>
1.137 + <widget class="QButtonGroup">
1.138 + <property name="name">
1.139 + <cstring>buttonGroup2_2</cstring>
1.140 + </property>
1.141 + <property name="sizePolicy">
1.142 + <sizepolicy>
1.143 + <hsizetype>3</hsizetype>
1.144 + <vsizetype>3</vsizetype>
1.145 + <horstretch>0</horstretch>
1.146 + <verstretch>0</verstretch>
1.147 + </sizepolicy>
1.148 + </property>
1.149 + <property name="title">
1.150 + <string>Stylesheets</string>
1.151 + </property>
1.152 + <widget class="QLayoutWidget">
1.153 + <property name="name">
1.154 + <cstring>layout7</cstring>
1.155 + </property>
1.156 + <property name="geometry">
1.157 + <rect>
1.158 + <x>10</x>
1.159 + <y>30</y>
1.160 + <width>540</width>
1.161 + <height>84</height>
1.162 + </rect>
1.163 + </property>
1.164 + <vbox>
1.165 + <property name="name">
1.166 + <cstring>unnamed</cstring>
1.167 + </property>
1.168 + <widget class="QLayoutWidget">
1.169 + <property name="name">
1.170 + <cstring>layout5</cstring>
1.171 + </property>
1.172 + <hbox>
1.173 + <property name="name">
1.174 + <cstring>unnamed</cstring>
1.175 + </property>
1.176 + <widget class="QLabel">
1.177 + <property name="name">
1.178 + <cstring>textLabel1_2</cstring>
1.179 + </property>
1.180 + <property name="text">
1.181 + <string>CSS:</string>
1.182 + </property>
1.183 + </widget>
1.184 + <widget class="QLineEdit">
1.185 + <property name="name">
1.186 + <cstring>lineEditCSS</cstring>
1.187 + </property>
1.188 + </widget>
1.189 + <widget class="QPushButton">
1.190 + <property name="name">
1.191 + <cstring>browseCSSButton</cstring>
1.192 + </property>
1.193 + <property name="text">
1.194 + <string>Browse</string>
1.195 + </property>
1.196 + </widget>
1.197 + </hbox>
1.198 + </widget>
1.199 + <widget class="QLayoutWidget">
1.200 + <property name="name">
1.201 + <cstring>layout6</cstring>
1.202 + </property>
1.203 + <hbox>
1.204 + <property name="name">
1.205 + <cstring>unnamed</cstring>
1.206 + </property>
1.207 + <widget class="QLabel">
1.208 + <property name="name">
1.209 + <cstring>textLabel2</cstring>
1.210 + </property>
1.211 + <property name="text">
1.212 + <string>XSL:</string>
1.213 + </property>
1.214 + </widget>
1.215 + <widget class="QLineEdit">
1.216 + <property name="name">
1.217 + <cstring>lineEditXSL</cstring>
1.218 + </property>
1.219 + </widget>
1.220 + <widget class="QPushButton">
1.221 + <property name="name">
1.222 + <cstring>browseXSLButton</cstring>
1.223 + </property>
1.224 + <property name="text">
1.225 + <string>Browse</string>
1.226 + </property>
1.227 + </widget>
1.228 + </hbox>
1.229 + </widget>
1.230 + </vbox>
1.231 + </widget>
1.232 + </widget>
1.233 + <widget class="QGroupBox">
1.234 + <property name="name">
1.235 + <cstring>groupBox1</cstring>
1.236 + </property>
1.237 + <property name="title">
1.238 + <string>Scripts</string>
1.239 + </property>
1.240 + <widget class="QLabel">
1.241 + <property name="name">
1.242 + <cstring>textLabel1_3</cstring>
1.243 + </property>
1.244 + <property name="geometry">
1.245 + <rect>
1.246 + <x>12</x>
1.247 + <y>22</y>
1.248 + <width>110</width>
1.249 + <height>36</height>
1.250 + </rect>
1.251 + </property>
1.252 + <property name="text">
1.253 + <string>Before export:</string>
1.254 + </property>
1.255 + </widget>
1.256 + <widget class="QLineEdit">
1.257 + <property name="name">
1.258 + <cstring>lineEditPreScript</cstring>
1.259 + </property>
1.260 + <property name="geometry">
1.261 + <rect>
1.262 + <x>128</x>
1.263 + <y>26</y>
1.264 + <width>322</width>
1.265 + <height>28</height>
1.266 + </rect>
1.267 + </property>
1.268 + </widget>
1.269 + <widget class="QPushButton">
1.270 + <property name="name">
1.271 + <cstring>browsePreExportButton</cstring>
1.272 + </property>
1.273 + <property name="geometry">
1.274 + <rect>
1.275 + <x>456</x>
1.276 + <y>22</y>
1.277 + <width>94</width>
1.278 + <height>36</height>
1.279 + </rect>
1.280 + </property>
1.281 + <property name="text">
1.282 + <string>Browse</string>
1.283 + </property>
1.284 + </widget>
1.285 + <widget class="QLabel">
1.286 + <property name="name">
1.287 + <cstring>textLabel2_2</cstring>
1.288 + </property>
1.289 + <property name="geometry">
1.290 + <rect>
1.291 + <x>11</x>
1.292 + <y>61</y>
1.293 + <width>99</width>
1.294 + <height>36</height>
1.295 + </rect>
1.296 + </property>
1.297 + <property name="text">
1.298 + <string>After Export:</string>
1.299 + </property>
1.300 + </widget>
1.301 + <widget class="QLineEdit">
1.302 + <property name="name">
1.303 + <cstring>lineEditPostScript</cstring>
1.304 + </property>
1.305 + <property name="geometry">
1.306 + <rect>
1.307 + <x>116</x>
1.308 + <y>65</y>
1.309 + <width>333</width>
1.310 + <height>28</height>
1.311 + </rect>
1.312 + </property>
1.313 + </widget>
1.314 + <widget class="QPushButton">
1.315 + <property name="name">
1.316 + <cstring>browsePostExportButton</cstring>
1.317 + </property>
1.318 + <property name="geometry">
1.319 + <rect>
1.320 + <x>455</x>
1.321 + <y>61</y>
1.322 + <width>94</width>
1.323 + <height>36</height>
1.324 + </rect>
1.325 + </property>
1.326 + <property name="text">
1.327 + <string>Browse</string>
1.328 + </property>
1.329 + </widget>
1.330 + </widget>
1.331 + <spacer>
1.332 + <property name="name">
1.333 + <cstring>spacer3</cstring>
1.334 + </property>
1.335 + <property name="orientation">
1.336 + <enum>Vertical</enum>
1.337 + </property>
1.338 + <property name="sizeType">
1.339 + <enum>Expanding</enum>
1.340 + </property>
1.341 + <property name="sizeHint">
1.342 + <size>
1.343 + <width>20</width>
1.344 + <height>31</height>
1.345 + </size>
1.346 + </property>
1.347 + </spacer>
1.348 + <widget class="QLayoutWidget">
1.349 + <property name="name">
1.350 + <cstring>layout17</cstring>
1.351 + </property>
1.352 + <hbox>
1.353 + <property name="name">
1.354 + <cstring>unnamed</cstring>
1.355 + </property>
1.356 + <spacer>
1.357 + <property name="name">
1.358 + <cstring>spacer5</cstring>
1.359 + </property>
1.360 + <property name="orientation">
1.361 + <enum>Horizontal</enum>
1.362 + </property>
1.363 + <property name="sizeType">
1.364 + <enum>Expanding</enum>
1.365 + </property>
1.366 + <property name="sizeHint">
1.367 + <size>
1.368 + <width>61</width>
1.369 + <height>21</height>
1.370 + </size>
1.371 + </property>
1.372 + </spacer>
1.373 + <widget class="QPushButton">
1.374 + <property name="name">
1.375 + <cstring>exportButton</cstring>
1.376 + </property>
1.377 + <property name="text">
1.378 + <string>Export</string>
1.379 + </property>
1.380 + <property name="default">
1.381 + <bool>true</bool>
1.382 + </property>
1.383 + </widget>
1.384 + <widget class="QPushButton">
1.385 + <property name="name">
1.386 + <cstring>cancelButton</cstring>
1.387 + </property>
1.388 + <property name="text">
1.389 + <string>Cancel</string>
1.390 + </property>
1.391 + </widget>
1.392 + </hbox>
1.393 + </widget>
1.394 + </vbox>
1.395 +</widget>
1.396 +<connections>
1.397 + <connection>
1.398 + <sender>outputButton</sender>
1.399 + <signal>toggled(bool)</signal>
1.400 + <receiver>ExportXHTMLDialog</receiver>
1.401 + <slot>outputButtonPressed(bool)</slot>
1.402 + </connection>
1.403 + <connection>
1.404 + <sender>exportButton</sender>
1.405 + <signal>pressed()</signal>
1.406 + <receiver>ExportXHTMLDialog</receiver>
1.407 + <slot>accept()</slot>
1.408 + </connection>
1.409 + <connection>
1.410 + <sender>cancelButton</sender>
1.411 + <signal>pressed()</signal>
1.412 + <receiver>ExportXHTMLDialog</receiver>
1.413 + <slot>close()</slot>
1.414 + </connection>
1.415 + <connection>
1.416 + <sender>browseExportDirButton</sender>
1.417 + <signal>pressed()</signal>
1.418 + <receiver>ExportXHTMLDialog</receiver>
1.419 + <slot>browseDirectoryPressed()</slot>
1.420 + </connection>
1.421 + <connection>
1.422 + <sender>browseXSLButton</sender>
1.423 + <signal>pressed()</signal>
1.424 + <receiver>ExportXHTMLDialog</receiver>
1.425 + <slot>browseXSLPressed()</slot>
1.426 + </connection>
1.427 + <connection>
1.428 + <sender>browseCSSButton</sender>
1.429 + <signal>pressed()</signal>
1.430 + <receiver>ExportXHTMLDialog</receiver>
1.431 + <slot>browseCSSPressed()</slot>
1.432 + </connection>
1.433 + <connection>
1.434 + <sender>imageButton</sender>
1.435 + <signal>toggled(bool)</signal>
1.436 + <receiver>ExportXHTMLDialog</receiver>
1.437 + <slot>imageButtonPressed(bool)</slot>
1.438 + </connection>
1.439 + <connection>
1.440 + <sender>textColorButton</sender>
1.441 + <signal>toggled(bool)</signal>
1.442 + <receiver>ExportXHTMLDialog</receiver>
1.443 + <slot>textcolorButtonPressed(bool)</slot>
1.444 + </connection>
1.445 + <connection>
1.446 + <sender>lineEditDir</sender>
1.447 + <signal>textChanged(const QString&)</signal>
1.448 + <receiver>ExportXHTMLDialog</receiver>
1.449 + <slot>dirChanged()</slot>
1.450 + </connection>
1.451 + <connection>
1.452 + <sender>lineEditCSS</sender>
1.453 + <signal>textChanged(const QString&)</signal>
1.454 + <receiver>ExportXHTMLDialog</receiver>
1.455 + <slot>cssChanged()</slot>
1.456 + </connection>
1.457 + <connection>
1.458 + <sender>lineEditXSL</sender>
1.459 + <signal>textChanged(const QString&)</signal>
1.460 + <receiver>ExportXHTMLDialog</receiver>
1.461 + <slot>xslChanged()</slot>
1.462 + </connection>
1.463 + <connection>
1.464 + <sender>browsePreExportButton</sender>
1.465 + <signal>pressed()</signal>
1.466 + <receiver>ExportXHTMLDialog</receiver>
1.467 + <slot>browsePreExportButtonPressed()</slot>
1.468 + </connection>
1.469 + <connection>
1.470 + <sender>browsePostExportButton</sender>
1.471 + <signal>pressed()</signal>
1.472 + <receiver>ExportXHTMLDialog</receiver>
1.473 + <slot>browsePostExportButtonPressed()</slot>
1.474 + </connection>
1.475 + <connection>
1.476 + <sender>lineEditPreScript</sender>
1.477 + <signal>textChanged(const QString&)</signal>
1.478 + <receiver>ExportXHTMLDialog</receiver>
1.479 + <slot>prescriptChanged()</slot>
1.480 + </connection>
1.481 + <connection>
1.482 + <sender>lineEditPostScript</sender>
1.483 + <signal>textChanged(const QString&)</signal>
1.484 + <receiver>ExportXHTMLDialog</receiver>
1.485 + <slot>postscriptChanged()</slot>
1.486 + </connection>
1.487 + <connection>
1.488 + <sender>warningsButton</sender>
1.489 + <signal>toggled(bool)</signal>
1.490 + <receiver>ExportXHTMLDialog</receiver>
1.491 + <slot>warningsButtonPressed(bool)</slot>
1.492 + </connection>
1.493 + <connection>
1.494 + <sender>saveSettingsInMapButton</sender>
1.495 + <signal>toggled(bool)</signal>
1.496 + <receiver>ExportXHTMLDialog</receiver>
1.497 + <slot>saveSettingsInMapButtonPressed(bool)</slot>
1.498 + </connection>
1.499 +</connections>
1.500 +<includes>
1.501 + <include location="local" impldecl="in declaration">process.h</include>
1.502 + <include location="local" impldecl="in declaration">showtextdialog.h</include>
1.503 + <include location="global" impldecl="in implementation">qfiledialog.h</include>
1.504 + <include location="global" impldecl="in implementation">qmessagebox.h</include>
1.505 + <include location="local" impldecl="in implementation">settings.h</include>
1.506 + <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
1.507 + <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
1.508 +</includes>
1.509 +<variables>
1.510 + <variable>bool useTextColor;</variable>
1.511 + <variable>bool showWarnings;</variable>
1.512 + <variable>QString xsl;</variable>
1.513 + <variable>QString css;</variable>
1.514 + <variable>bool useImage;</variable>
1.515 + <variable>bool showOutput;</variable>
1.516 + <variable>Process *xsltProc;</variable>
1.517 + <variable>ShowTextDialog *dia;</variable>
1.518 + <variable>QString dir;</variable>
1.519 + <variable>QString xsltprocessor;</variable>
1.520 + <variable>QString filepath;</variable>
1.521 + <variable>QString prescript;</variable>
1.522 + <variable>QString postscript;</variable>
1.523 + <variable>bool settingsChanged;</variable>
1.524 + <variable>QString mapname;</variable>
1.525 + <variable>bool saveSettingsInMap;</variable>
1.526 +</variables>
1.527 +<slots>
1.528 + <slot>readSettings()</slot>
1.529 + <slot>dirChanged()</slot>
1.530 + <slot>browseDirectoryPressed()</slot>
1.531 + <slot>imageButtonPressed( bool b )</slot>
1.532 + <slot>textcolorButtonPressed( bool b )</slot>
1.533 + <slot>saveSettingsInMapButtonPressed( bool b )</slot>
1.534 + <slot>warningsButtonPressed( bool b )</slot>
1.535 + <slot>outputButtonPressed( bool b )</slot>
1.536 + <slot>cssChanged()</slot>
1.537 + <slot>browseCSSPressed()</slot>
1.538 + <slot>xslChanged()</slot>
1.539 + <slot>prescriptChanged()</slot>
1.540 + <slot>browseXSLPressed()</slot>
1.541 + <slot>postscriptChanged()</slot>
1.542 + <slot>browsePreExportButtonPressed()</slot>
1.543 + <slot>browsePostExportButtonPressed()</slot>
1.544 + <slot>doExport( const QString & mapname )</slot>
1.545 + <slot>setFilePath( const QString & s )</slot>
1.546 + <slot>setMapName( const QString & s )</slot>
1.547 +</slots>
1.548 +<functions>
1.549 + <function access="private" specifier="non virtual">init()</function>
1.550 + <function access="private" specifier="non virtual">destroy()</function>
1.551 + <function returnType="QString">getDir()</function>
1.552 + <function returnType="bool">warnings()</function>
1.553 + <function returnType="bool">hasChanged()</function>
1.554 + <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
1.555 +</functions>
1.556 +<pixmapinproject/>
1.557 +<layoutdefaults spacing="6" margin="11"/>
1.558 +</UI>