1.1 --- a/exports.cpp Thu Sep 14 11:38:17 2006 +0000
1.2 +++ b/exports.cpp Thu Sep 14 11:38:17 2006 +0000
1.3 @@ -171,7 +171,7 @@
1.4 if (me)
1.5 {
1.6 WarningDialog dia;
1.7 - dia.setCancelButton (true);
1.8 + dia.showCancelButton (true);
1.9 dia.setText(QObject::tr("Exporting the %1 bookmarks will overwrite\nyour existing bookmarks file.").arg("KDE"));
1.10 dia.setCaption(QObject::tr("Warning: Overwriting %1 bookmarks").arg("KDE"));
1.11 dia.setShowAgainName("/vym/warnings/overwriteKDEBookmarks");
1.12 @@ -207,7 +207,7 @@
1.13 if (me)
1.14 {
1.15 WarningDialog dia;
1.16 - dia.setCancelButton (true);
1.17 + dia.showCancelButton (true);
1.18 dia.setText(QObject::tr("Exporting the %1 bookmarks will overwrite\nyour existing bookmarks file.").arg("Firefox"));
1.19 dia.setCaption(QObject::tr("Warning: Overwriting %1 bookmarks").arg("Firefox"));
1.20 dia.setShowAgainName("/vym/warnings/overwriteImportBookmarks");
2.1 --- a/exportxhtmldialog.ui Thu Sep 14 11:38:17 2006 +0000
2.2 +++ b/exportxhtmldialog.ui Thu Sep 14 11:38:17 2006 +0000
2.3 @@ -1,637 +1,539 @@
2.4 -<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2.5 -<class>ExportXHTMLDialog</class>
2.6 -<widget class="QDialog">
2.7 - <property name="name">
2.8 - <cstring>ExportXHTMLDialog</cstring>
2.9 - </property>
2.10 - <property name="geometry">
2.11 - <rect>
2.12 - <x>0</x>
2.13 - <y>0</y>
2.14 - <width>514</width>
2.15 - <height>468</height>
2.16 - </rect>
2.17 - </property>
2.18 - <property name="minimumSize">
2.19 +<ui version="4.0" >
2.20 + <author></author>
2.21 + <comment></comment>
2.22 + <exportmacro></exportmacro>
2.23 + <class>ExportXHTMLDialog</class>
2.24 + <widget class="QDialog" name="ExportXHTMLDialog" >
2.25 + <property name="geometry" >
2.26 + <rect>
2.27 + <x>0</x>
2.28 + <y>0</y>
2.29 + <width>686</width>
2.30 + <height>606</height>
2.31 + </rect>
2.32 + </property>
2.33 + <property name="minimumSize" >
2.34 + <size>
2.35 + <width>0</width>
2.36 + <height>130</height>
2.37 + </size>
2.38 + </property>
2.39 + <property name="windowTitle" >
2.40 + <string>Export XHTML</string>
2.41 + </property>
2.42 + <layout class="QVBoxLayout" >
2.43 + <property name="margin" >
2.44 + <number>9</number>
2.45 + </property>
2.46 + <property name="spacing" >
2.47 + <number>6</number>
2.48 + </property>
2.49 + <item>
2.50 + <layout class="QHBoxLayout" >
2.51 + <property name="margin" >
2.52 + <number>0</number>
2.53 + </property>
2.54 + <property name="spacing" >
2.55 + <number>6</number>
2.56 + </property>
2.57 + <item>
2.58 + <widget class="QLabel" name="textLabel1" >
2.59 + <property name="sizePolicy" >
2.60 + <sizepolicy>
2.61 + <hsizetype>1</hsizetype>
2.62 + <vsizetype>5</vsizetype>
2.63 + <horstretch>0</horstretch>
2.64 + <verstretch>0</verstretch>
2.65 + </sizepolicy>
2.66 + </property>
2.67 + <property name="text" >
2.68 + <string>Export to directory:</string>
2.69 + </property>
2.70 + </widget>
2.71 + </item>
2.72 + <item>
2.73 + <widget class="QLineEdit" name="lineEditDir" >
2.74 + <property name="sizePolicy" >
2.75 + <sizepolicy>
2.76 + <hsizetype>7</hsizetype>
2.77 + <vsizetype>0</vsizetype>
2.78 + <horstretch>0</horstretch>
2.79 + <verstretch>0</verstretch>
2.80 + </sizepolicy>
2.81 + </property>
2.82 + </widget>
2.83 + </item>
2.84 + <item>
2.85 + <widget class="QPushButton" name="browseExportDirButton" >
2.86 + <property name="sizePolicy" >
2.87 + <sizepolicy>
2.88 + <hsizetype>0</hsizetype>
2.89 + <vsizetype>0</vsizetype>
2.90 + <horstretch>0</horstretch>
2.91 + <verstretch>0</verstretch>
2.92 + </sizepolicy>
2.93 + </property>
2.94 + <property name="text" >
2.95 + <string>Browse</string>
2.96 + </property>
2.97 + </widget>
2.98 + </item>
2.99 + </layout>
2.100 + </item>
2.101 + <item>
2.102 + <widget class="Q3ButtonGroup" name="buttonGroup2" >
2.103 + <property name="sizePolicy" >
2.104 + <sizepolicy>
2.105 + <hsizetype>5</hsizetype>
2.106 + <vsizetype>5</vsizetype>
2.107 + <horstretch>0</horstretch>
2.108 + <verstretch>0</verstretch>
2.109 + </sizepolicy>
2.110 + </property>
2.111 + <property name="minimumSize" >
2.112 + <size>
2.113 + <width>0</width>
2.114 + <height>160</height>
2.115 + </size>
2.116 + </property>
2.117 + <property name="title" >
2.118 + <string>Options</string>
2.119 + </property>
2.120 + <property name="orientation" >
2.121 + <enum>Qt::Vertical</enum>
2.122 + </property>
2.123 + <widget class="QCheckBox" name="outputButton" >
2.124 + <property name="geometry" >
2.125 + <rect>
2.126 + <x>22</x>
2.127 + <y>156</y>
2.128 + <width>521</width>
2.129 + <height>21</height>
2.130 + </rect>
2.131 + </property>
2.132 + <property name="sizePolicy" >
2.133 + <sizepolicy>
2.134 + <hsizetype>1</hsizetype>
2.135 + <vsizetype>0</vsizetype>
2.136 + <horstretch>0</horstretch>
2.137 + <verstretch>0</verstretch>
2.138 + </sizepolicy>
2.139 + </property>
2.140 + <property name="text" >
2.141 + <string>show output of external scripts</string>
2.142 + </property>
2.143 + </widget>
2.144 + <widget class="QWidget" name="" >
2.145 + <property name="geometry" >
2.146 + <rect>
2.147 + <x>20</x>
2.148 + <y>30</y>
2.149 + <width>511</width>
2.150 + <height>104</height>
2.151 + </rect>
2.152 + </property>
2.153 + <layout class="QVBoxLayout" >
2.154 + <property name="margin" >
2.155 + <number>0</number>
2.156 + </property>
2.157 + <property name="spacing" >
2.158 + <number>6</number>
2.159 + </property>
2.160 + <item>
2.161 + <widget class="QCheckBox" name="imageButton" >
2.162 + <property name="text" >
2.163 + <string>Include image</string>
2.164 + </property>
2.165 + </widget>
2.166 + </item>
2.167 + <item>
2.168 + <widget class="QCheckBox" name="textColorButton" >
2.169 + <property name="text" >
2.170 + <string>Colored headings in text</string>
2.171 + </property>
2.172 + </widget>
2.173 + </item>
2.174 + <item>
2.175 + <widget class="QCheckBox" name="saveSettingsInMapButton" >
2.176 + <property name="text" >
2.177 + <string>Save settings in map</string>
2.178 + </property>
2.179 + </widget>
2.180 + </item>
2.181 + <item>
2.182 + <widget class="QCheckBox" name="warningsButton" >
2.183 + <property name="text" >
2.184 + <string>showWarnings e.g. if directory is not empty</string>
2.185 + </property>
2.186 + </widget>
2.187 + </item>
2.188 + </layout>
2.189 + </widget>
2.190 + </widget>
2.191 + </item>
2.192 + <item>
2.193 + <widget class="Q3GroupBox" name="groupBox2" >
2.194 + <property name="title" >
2.195 + <string>Stylesheets</string>
2.196 + </property>
2.197 + <property name="orientation" >
2.198 + <enum>Qt::Vertical</enum>
2.199 + </property>
2.200 + <layout class="QGridLayout" >
2.201 + <property name="margin" >
2.202 + <number>11</number>
2.203 + </property>
2.204 + <property name="spacing" >
2.205 + <number>6</number>
2.206 + </property>
2.207 + <item row="1" column="0" >
2.208 + <layout class="QHBoxLayout" >
2.209 + <property name="margin" >
2.210 + <number>0</number>
2.211 + </property>
2.212 + <property name="spacing" >
2.213 + <number>6</number>
2.214 + </property>
2.215 + <item>
2.216 + <widget class="QLabel" name="textLabel2" >
2.217 + <property name="sizePolicy" >
2.218 + <sizepolicy>
2.219 + <hsizetype>0</hsizetype>
2.220 + <vsizetype>5</vsizetype>
2.221 + <horstretch>0</horstretch>
2.222 + <verstretch>0</verstretch>
2.223 + </sizepolicy>
2.224 + </property>
2.225 + <property name="minimumSize" >
2.226 + <size>
2.227 + <width>125</width>
2.228 + <height>0</height>
2.229 + </size>
2.230 + </property>
2.231 + <property name="text" >
2.232 + <string>XSL:</string>
2.233 + </property>
2.234 + <property name="alignment" >
2.235 + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
2.236 + </property>
2.237 + </widget>
2.238 + </item>
2.239 + <item>
2.240 + <widget class="QLineEdit" name="lineEditXSL" />
2.241 + </item>
2.242 + <item>
2.243 + <widget class="QPushButton" name="browseXSLButton" >
2.244 + <property name="sizePolicy" >
2.245 + <sizepolicy>
2.246 + <hsizetype>0</hsizetype>
2.247 + <vsizetype>0</vsizetype>
2.248 + <horstretch>0</horstretch>
2.249 + <verstretch>0</verstretch>
2.250 + </sizepolicy>
2.251 + </property>
2.252 + <property name="text" >
2.253 + <string>Browse</string>
2.254 + </property>
2.255 + </widget>
2.256 + </item>
2.257 + </layout>
2.258 + </item>
2.259 + <item row="0" column="0" >
2.260 + <layout class="QHBoxLayout" >
2.261 + <property name="margin" >
2.262 + <number>0</number>
2.263 + </property>
2.264 + <property name="spacing" >
2.265 + <number>6</number>
2.266 + </property>
2.267 + <item>
2.268 + <widget class="QLabel" name="textLabel1_2" >
2.269 + <property name="sizePolicy" >
2.270 + <sizepolicy>
2.271 + <hsizetype>0</hsizetype>
2.272 + <vsizetype>5</vsizetype>
2.273 + <horstretch>0</horstretch>
2.274 + <verstretch>0</verstretch>
2.275 + </sizepolicy>
2.276 + </property>
2.277 + <property name="minimumSize" >
2.278 + <size>
2.279 + <width>125</width>
2.280 + <height>0</height>
2.281 + </size>
2.282 + </property>
2.283 + <property name="text" >
2.284 + <string>CSS:</string>
2.285 + </property>
2.286 + <property name="alignment" >
2.287 + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
2.288 + </property>
2.289 + </widget>
2.290 + </item>
2.291 + <item>
2.292 + <widget class="QLineEdit" name="lineEditCSS" />
2.293 + </item>
2.294 + <item>
2.295 + <widget class="QPushButton" name="browseCSSButton" >
2.296 + <property name="sizePolicy" >
2.297 + <sizepolicy>
2.298 + <hsizetype>0</hsizetype>
2.299 + <vsizetype>0</vsizetype>
2.300 + <horstretch>0</horstretch>
2.301 + <verstretch>0</verstretch>
2.302 + </sizepolicy>
2.303 + </property>
2.304 + <property name="text" >
2.305 + <string>Browse</string>
2.306 + </property>
2.307 + </widget>
2.308 + </item>
2.309 + </layout>
2.310 + </item>
2.311 + </layout>
2.312 + </widget>
2.313 + </item>
2.314 + <item>
2.315 + <widget class="Q3GroupBox" name="groupBox1" >
2.316 + <property name="title" >
2.317 + <string>Scripts</string>
2.318 + </property>
2.319 + <property name="orientation" >
2.320 + <enum>Qt::Vertical</enum>
2.321 + </property>
2.322 + <layout class="QGridLayout" >
2.323 + <property name="margin" >
2.324 + <number>11</number>
2.325 + </property>
2.326 + <property name="spacing" >
2.327 + <number>6</number>
2.328 + </property>
2.329 + <item row="0" column="0" >
2.330 + <layout class="QHBoxLayout" >
2.331 + <property name="margin" >
2.332 + <number>0</number>
2.333 + </property>
2.334 + <property name="spacing" >
2.335 + <number>6</number>
2.336 + </property>
2.337 + <item>
2.338 + <widget class="QLabel" name="textLabel1_3" >
2.339 + <property name="sizePolicy" >
2.340 + <sizepolicy>
2.341 + <hsizetype>0</hsizetype>
2.342 + <vsizetype>5</vsizetype>
2.343 + <horstretch>0</horstretch>
2.344 + <verstretch>0</verstretch>
2.345 + </sizepolicy>
2.346 + </property>
2.347 + <property name="minimumSize" >
2.348 + <size>
2.349 + <width>125</width>
2.350 + <height>0</height>
2.351 + </size>
2.352 + </property>
2.353 + <property name="text" >
2.354 + <string>Before export:</string>
2.355 + </property>
2.356 + <property name="alignment" >
2.357 + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
2.358 + </property>
2.359 + </widget>
2.360 + </item>
2.361 + <item>
2.362 + <widget class="QLineEdit" name="lineEditPostScript" />
2.363 + </item>
2.364 + <item>
2.365 + <widget class="QPushButton" name="browsePreExportButton" >
2.366 + <property name="sizePolicy" >
2.367 + <sizepolicy>
2.368 + <hsizetype>0</hsizetype>
2.369 + <vsizetype>0</vsizetype>
2.370 + <horstretch>0</horstretch>
2.371 + <verstretch>0</verstretch>
2.372 + </sizepolicy>
2.373 + </property>
2.374 + <property name="text" >
2.375 + <string>Browse</string>
2.376 + </property>
2.377 + </widget>
2.378 + </item>
2.379 + </layout>
2.380 + </item>
2.381 + <item row="1" column="0" >
2.382 + <layout class="QHBoxLayout" >
2.383 + <property name="margin" >
2.384 + <number>0</number>
2.385 + </property>
2.386 + <property name="spacing" >
2.387 + <number>6</number>
2.388 + </property>
2.389 + <item>
2.390 + <widget class="QLabel" name="textLabel2_2" >
2.391 + <property name="sizePolicy" >
2.392 + <sizepolicy>
2.393 + <hsizetype>0</hsizetype>
2.394 + <vsizetype>5</vsizetype>
2.395 + <horstretch>0</horstretch>
2.396 + <verstretch>0</verstretch>
2.397 + </sizepolicy>
2.398 + </property>
2.399 + <property name="minimumSize" >
2.400 + <size>
2.401 + <width>125</width>
2.402 + <height>0</height>
2.403 + </size>
2.404 + </property>
2.405 + <property name="frameShape" >
2.406 + <enum>QFrame::NoFrame</enum>
2.407 + </property>
2.408 + <property name="text" >
2.409 + <string>After Export:</string>
2.410 + </property>
2.411 + <property name="alignment" >
2.412 + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
2.413 + </property>
2.414 + </widget>
2.415 + </item>
2.416 + <item>
2.417 + <widget class="QLineEdit" name="lineEditPreScript" />
2.418 + </item>
2.419 + <item>
2.420 + <widget class="QPushButton" name="browsePostExportButton" >
2.421 + <property name="sizePolicy" >
2.422 + <sizepolicy>
2.423 + <hsizetype>0</hsizetype>
2.424 + <vsizetype>0</vsizetype>
2.425 + <horstretch>0</horstretch>
2.426 + <verstretch>0</verstretch>
2.427 + </sizepolicy>
2.428 + </property>
2.429 + <property name="text" >
2.430 + <string>Browse</string>
2.431 + </property>
2.432 + </widget>
2.433 + </item>
2.434 + </layout>
2.435 + </item>
2.436 + </layout>
2.437 + </widget>
2.438 + </item>
2.439 + <item>
2.440 + <spacer>
2.441 + <property name="orientation" >
2.442 + <enum>Qt::Vertical</enum>
2.443 + </property>
2.444 + <property name="sizeType" >
2.445 + <enum>QSizePolicy::MinimumExpanding</enum>
2.446 + </property>
2.447 + <property name="sizeHint" >
2.448 + <size>
2.449 + <width>20</width>
2.450 + <height>41</height>
2.451 + </size>
2.452 + </property>
2.453 + </spacer>
2.454 + </item>
2.455 + <item>
2.456 + <layout class="QHBoxLayout" >
2.457 + <property name="margin" >
2.458 + <number>0</number>
2.459 + </property>
2.460 + <property name="spacing" >
2.461 + <number>6</number>
2.462 + </property>
2.463 + <item>
2.464 + <spacer>
2.465 + <property name="orientation" >
2.466 + <enum>Qt::Horizontal</enum>
2.467 + </property>
2.468 + <property name="sizeType" >
2.469 + <enum>QSizePolicy::Expanding</enum>
2.470 + </property>
2.471 + <property name="sizeHint" >
2.472 <size>
2.473 - <width>0</width>
2.474 - <height>130</height>
2.475 + <width>61</width>
2.476 + <height>21</height>
2.477 </size>
2.478 - </property>
2.479 - <property name="caption">
2.480 - <string>Export XHTML</string>
2.481 - </property>
2.482 - <grid>
2.483 - <property name="name">
2.484 - <cstring>unnamed</cstring>
2.485 - </property>
2.486 - <widget class="QLayoutWidget" row="0" column="0">
2.487 - <property name="name">
2.488 - <cstring>layout17</cstring>
2.489 - </property>
2.490 - <hbox>
2.491 - <property name="name">
2.492 - <cstring>unnamed</cstring>
2.493 - </property>
2.494 - <widget class="QLabel">
2.495 - <property name="name">
2.496 - <cstring>textLabel1</cstring>
2.497 - </property>
2.498 - <property name="sizePolicy">
2.499 - <sizepolicy>
2.500 - <hsizetype>1</hsizetype>
2.501 - <vsizetype>5</vsizetype>
2.502 - <horstretch>0</horstretch>
2.503 - <verstretch>0</verstretch>
2.504 - </sizepolicy>
2.505 - </property>
2.506 - <property name="text">
2.507 - <string>Export to directory:</string>
2.508 - </property>
2.509 - </widget>
2.510 - <widget class="QLineEdit">
2.511 - <property name="name">
2.512 - <cstring>lineEditDir</cstring>
2.513 - </property>
2.514 - <property name="sizePolicy">
2.515 - <sizepolicy>
2.516 - <hsizetype>7</hsizetype>
2.517 - <vsizetype>0</vsizetype>
2.518 - <horstretch>0</horstretch>
2.519 - <verstretch>0</verstretch>
2.520 - </sizepolicy>
2.521 - </property>
2.522 - </widget>
2.523 - <widget class="QPushButton">
2.524 - <property name="name">
2.525 - <cstring>browseExportDirButton</cstring>
2.526 - </property>
2.527 - <property name="sizePolicy">
2.528 - <sizepolicy>
2.529 - <hsizetype>0</hsizetype>
2.530 - <vsizetype>0</vsizetype>
2.531 - <horstretch>0</horstretch>
2.532 - <verstretch>0</verstretch>
2.533 - </sizepolicy>
2.534 - </property>
2.535 - <property name="text">
2.536 - <string>Browse</string>
2.537 - </property>
2.538 - </widget>
2.539 - </hbox>
2.540 - </widget>
2.541 - <widget class="QLayoutWidget" row="5" column="0">
2.542 - <property name="name">
2.543 - <cstring>layout17</cstring>
2.544 - </property>
2.545 - <hbox>
2.546 - <property name="name">
2.547 - <cstring>unnamed</cstring>
2.548 - </property>
2.549 - <spacer>
2.550 - <property name="name">
2.551 - <cstring>spacer5</cstring>
2.552 - </property>
2.553 - <property name="orientation">
2.554 - <enum>Horizontal</enum>
2.555 - </property>
2.556 - <property name="sizeType">
2.557 - <enum>Expanding</enum>
2.558 - </property>
2.559 - <property name="sizeHint">
2.560 - <size>
2.561 - <width>61</width>
2.562 - <height>21</height>
2.563 - </size>
2.564 - </property>
2.565 - </spacer>
2.566 - <widget class="QPushButton">
2.567 - <property name="name">
2.568 - <cstring>exportButton</cstring>
2.569 - </property>
2.570 - <property name="text">
2.571 - <string>Export</string>
2.572 - </property>
2.573 - <property name="default">
2.574 - <bool>true</bool>
2.575 - </property>
2.576 - </widget>
2.577 - <widget class="QPushButton">
2.578 - <property name="name">
2.579 - <cstring>cancelButton</cstring>
2.580 - </property>
2.581 - <property name="text">
2.582 - <string>Cancel</string>
2.583 - </property>
2.584 - </widget>
2.585 - </hbox>
2.586 - </widget>
2.587 - <widget class="QButtonGroup" row="1" column="0">
2.588 - <property name="name">
2.589 - <cstring>buttonGroup2</cstring>
2.590 - </property>
2.591 - <property name="sizePolicy">
2.592 - <sizepolicy>
2.593 - <hsizetype>5</hsizetype>
2.594 - <vsizetype>5</vsizetype>
2.595 - <horstretch>0</horstretch>
2.596 - <verstretch>0</verstretch>
2.597 - </sizepolicy>
2.598 - </property>
2.599 - <property name="minimumSize">
2.600 - <size>
2.601 - <width>0</width>
2.602 - <height>160</height>
2.603 - </size>
2.604 - </property>
2.605 - <property name="title">
2.606 - <string>Options</string>
2.607 - </property>
2.608 - <vbox>
2.609 - <property name="name">
2.610 - <cstring>unnamed</cstring>
2.611 - </property>
2.612 - <widget class="QCheckBox">
2.613 - <property name="name">
2.614 - <cstring>imageButton</cstring>
2.615 - </property>
2.616 - <property name="text">
2.617 - <string>Include image</string>
2.618 - </property>
2.619 - </widget>
2.620 - <widget class="QCheckBox">
2.621 - <property name="name">
2.622 - <cstring>textColorButton</cstring>
2.623 - </property>
2.624 - <property name="text">
2.625 - <string>Colored headings in text</string>
2.626 - </property>
2.627 - </widget>
2.628 - <widget class="QCheckBox">
2.629 - <property name="name">
2.630 - <cstring>saveSettingsInMapButton</cstring>
2.631 - </property>
2.632 - <property name="text">
2.633 - <string>Save settings in map</string>
2.634 - </property>
2.635 - </widget>
2.636 - <widget class="QCheckBox">
2.637 - <property name="name">
2.638 - <cstring>warningsButton</cstring>
2.639 - </property>
2.640 - <property name="text">
2.641 - <string>showWarnings e.g. if directory is not empty</string>
2.642 - </property>
2.643 - </widget>
2.644 - <widget class="QCheckBox">
2.645 - <property name="name">
2.646 - <cstring>outputButton</cstring>
2.647 - </property>
2.648 - <property name="sizePolicy">
2.649 - <sizepolicy>
2.650 - <hsizetype>1</hsizetype>
2.651 - <vsizetype>0</vsizetype>
2.652 - <horstretch>0</horstretch>
2.653 - <verstretch>0</verstretch>
2.654 - </sizepolicy>
2.655 - </property>
2.656 - <property name="text">
2.657 - <string>show output of external scripts</string>
2.658 - </property>
2.659 - </widget>
2.660 - </vbox>
2.661 - </widget>
2.662 - <widget class="QGroupBox" row="2" column="0">
2.663 - <property name="name">
2.664 - <cstring>groupBox2</cstring>
2.665 - </property>
2.666 - <property name="title">
2.667 - <string>Stylesheets</string>
2.668 - </property>
2.669 - <grid>
2.670 - <property name="name">
2.671 - <cstring>unnamed</cstring>
2.672 - </property>
2.673 - <widget class="QLayoutWidget" row="1" column="0">
2.674 - <property name="name">
2.675 - <cstring>layout7</cstring>
2.676 - </property>
2.677 - <hbox>
2.678 - <property name="name">
2.679 - <cstring>unnamed</cstring>
2.680 - </property>
2.681 - <widget class="QLabel">
2.682 - <property name="name">
2.683 - <cstring>textLabel2</cstring>
2.684 - </property>
2.685 - <property name="sizePolicy">
2.686 - <sizepolicy>
2.687 - <hsizetype>0</hsizetype>
2.688 - <vsizetype>5</vsizetype>
2.689 - <horstretch>0</horstretch>
2.690 - <verstretch>0</verstretch>
2.691 - </sizepolicy>
2.692 - </property>
2.693 - <property name="minimumSize">
2.694 - <size>
2.695 - <width>125</width>
2.696 - <height>0</height>
2.697 - </size>
2.698 - </property>
2.699 - <property name="text">
2.700 - <string>XSL:</string>
2.701 - </property>
2.702 - <property name="alignment">
2.703 - <set>AlignVCenter|AlignRight</set>
2.704 - </property>
2.705 - </widget>
2.706 - <widget class="QLineEdit">
2.707 - <property name="name">
2.708 - <cstring>lineEditXSL</cstring>
2.709 - </property>
2.710 - </widget>
2.711 - <widget class="QPushButton">
2.712 - <property name="name">
2.713 - <cstring>browseXSLButton</cstring>
2.714 - </property>
2.715 - <property name="sizePolicy">
2.716 - <sizepolicy>
2.717 - <hsizetype>0</hsizetype>
2.718 - <vsizetype>0</vsizetype>
2.719 - <horstretch>0</horstretch>
2.720 - <verstretch>0</verstretch>
2.721 - </sizepolicy>
2.722 - </property>
2.723 - <property name="text">
2.724 - <string>Browse</string>
2.725 - </property>
2.726 - </widget>
2.727 - </hbox>
2.728 - </widget>
2.729 - <widget class="QLayoutWidget" row="0" column="0">
2.730 - <property name="name">
2.731 - <cstring>layout6</cstring>
2.732 - </property>
2.733 - <hbox>
2.734 - <property name="name">
2.735 - <cstring>unnamed</cstring>
2.736 - </property>
2.737 - <widget class="QLabel">
2.738 - <property name="name">
2.739 - <cstring>textLabel1_2</cstring>
2.740 - </property>
2.741 - <property name="sizePolicy">
2.742 - <sizepolicy>
2.743 - <hsizetype>0</hsizetype>
2.744 - <vsizetype>5</vsizetype>
2.745 - <horstretch>0</horstretch>
2.746 - <verstretch>0</verstretch>
2.747 - </sizepolicy>
2.748 - </property>
2.749 - <property name="minimumSize">
2.750 - <size>
2.751 - <width>125</width>
2.752 - <height>0</height>
2.753 - </size>
2.754 - </property>
2.755 - <property name="text">
2.756 - <string>CSS:</string>
2.757 - </property>
2.758 - <property name="alignment">
2.759 - <set>AlignVCenter|AlignRight</set>
2.760 - </property>
2.761 - </widget>
2.762 - <widget class="QLineEdit">
2.763 - <property name="name">
2.764 - <cstring>lineEditCSS</cstring>
2.765 - </property>
2.766 - </widget>
2.767 - <widget class="QPushButton">
2.768 - <property name="name">
2.769 - <cstring>browseCSSButton</cstring>
2.770 - </property>
2.771 - <property name="sizePolicy">
2.772 - <sizepolicy>
2.773 - <hsizetype>0</hsizetype>
2.774 - <vsizetype>0</vsizetype>
2.775 - <horstretch>0</horstretch>
2.776 - <verstretch>0</verstretch>
2.777 - </sizepolicy>
2.778 - </property>
2.779 - <property name="text">
2.780 - <string>Browse</string>
2.781 - </property>
2.782 - </widget>
2.783 - </hbox>
2.784 - </widget>
2.785 - </grid>
2.786 - </widget>
2.787 - <widget class="QGroupBox" row="3" column="0">
2.788 - <property name="name">
2.789 - <cstring>groupBox1</cstring>
2.790 - </property>
2.791 - <property name="title">
2.792 - <string>Scripts</string>
2.793 - </property>
2.794 - <grid>
2.795 - <property name="name">
2.796 - <cstring>unnamed</cstring>
2.797 - </property>
2.798 - <widget class="QLayoutWidget" row="0" column="0">
2.799 - <property name="name">
2.800 - <cstring>layout4</cstring>
2.801 - </property>
2.802 - <hbox>
2.803 - <property name="name">
2.804 - <cstring>unnamed</cstring>
2.805 - </property>
2.806 - <widget class="QLabel">
2.807 - <property name="name">
2.808 - <cstring>textLabel1_3</cstring>
2.809 - </property>
2.810 - <property name="sizePolicy">
2.811 - <sizepolicy>
2.812 - <hsizetype>0</hsizetype>
2.813 - <vsizetype>5</vsizetype>
2.814 - <horstretch>0</horstretch>
2.815 - <verstretch>0</verstretch>
2.816 - </sizepolicy>
2.817 - </property>
2.818 - <property name="minimumSize">
2.819 - <size>
2.820 - <width>125</width>
2.821 - <height>0</height>
2.822 - </size>
2.823 - </property>
2.824 - <property name="text">
2.825 - <string>Before export:</string>
2.826 - </property>
2.827 - <property name="alignment">
2.828 - <set>AlignVCenter|AlignRight</set>
2.829 - </property>
2.830 - </widget>
2.831 - <widget class="QLineEdit">
2.832 - <property name="name">
2.833 - <cstring>lineEditPostScript</cstring>
2.834 - </property>
2.835 - </widget>
2.836 - <widget class="QPushButton">
2.837 - <property name="name">
2.838 - <cstring>browsePreExportButton</cstring>
2.839 - </property>
2.840 - <property name="sizePolicy">
2.841 - <sizepolicy>
2.842 - <hsizetype>0</hsizetype>
2.843 - <vsizetype>0</vsizetype>
2.844 - <horstretch>0</horstretch>
2.845 - <verstretch>0</verstretch>
2.846 - </sizepolicy>
2.847 - </property>
2.848 - <property name="text">
2.849 - <string>Browse</string>
2.850 - </property>
2.851 - </widget>
2.852 - </hbox>
2.853 - </widget>
2.854 - <widget class="QLayoutWidget" row="1" column="0">
2.855 - <property name="name">
2.856 - <cstring>layout5</cstring>
2.857 - </property>
2.858 - <hbox>
2.859 - <property name="name">
2.860 - <cstring>unnamed</cstring>
2.861 - </property>
2.862 - <widget class="QLabel">
2.863 - <property name="name">
2.864 - <cstring>textLabel2_2</cstring>
2.865 - </property>
2.866 - <property name="sizePolicy">
2.867 - <sizepolicy>
2.868 - <hsizetype>0</hsizetype>
2.869 - <vsizetype>5</vsizetype>
2.870 - <horstretch>0</horstretch>
2.871 - <verstretch>0</verstretch>
2.872 - </sizepolicy>
2.873 - </property>
2.874 - <property name="minimumSize">
2.875 - <size>
2.876 - <width>125</width>
2.877 - <height>0</height>
2.878 - </size>
2.879 - </property>
2.880 - <property name="frameShape">
2.881 - <enum>NoFrame</enum>
2.882 - </property>
2.883 - <property name="text">
2.884 - <string>After Export:</string>
2.885 - </property>
2.886 - <property name="alignment">
2.887 - <set>AlignVCenter|AlignRight</set>
2.888 - </property>
2.889 - </widget>
2.890 - <widget class="QLineEdit">
2.891 - <property name="name">
2.892 - <cstring>lineEditPreScript</cstring>
2.893 - </property>
2.894 - </widget>
2.895 - <widget class="QPushButton">
2.896 - <property name="name">
2.897 - <cstring>browsePostExportButton</cstring>
2.898 - </property>
2.899 - <property name="sizePolicy">
2.900 - <sizepolicy>
2.901 - <hsizetype>0</hsizetype>
2.902 - <vsizetype>0</vsizetype>
2.903 - <horstretch>0</horstretch>
2.904 - <verstretch>0</verstretch>
2.905 - </sizepolicy>
2.906 - </property>
2.907 - <property name="text">
2.908 - <string>Browse</string>
2.909 - </property>
2.910 - </widget>
2.911 - </hbox>
2.912 - </widget>
2.913 - </grid>
2.914 - </widget>
2.915 - <spacer row="4" column="0">
2.916 - <property name="name">
2.917 - <cstring>spacer3</cstring>
2.918 - </property>
2.919 - <property name="orientation">
2.920 - <enum>Vertical</enum>
2.921 - </property>
2.922 - <property name="sizeType">
2.923 - <enum>MinimumExpanding</enum>
2.924 - </property>
2.925 - <property name="sizeHint">
2.926 - <size>
2.927 - <width>20</width>
2.928 - <height>20</height>
2.929 - </size>
2.930 - </property>
2.931 - </spacer>
2.932 - </grid>
2.933 -</widget>
2.934 -<connections>
2.935 - <connection>
2.936 - <sender>outputButton</sender>
2.937 - <signal>toggled(bool)</signal>
2.938 - <receiver>ExportXHTMLDialog</receiver>
2.939 - <slot>outputButtonPressed(bool)</slot>
2.940 - </connection>
2.941 - <connection>
2.942 - <sender>exportButton</sender>
2.943 - <signal>pressed()</signal>
2.944 - <receiver>ExportXHTMLDialog</receiver>
2.945 - <slot>accept()</slot>
2.946 - </connection>
2.947 - <connection>
2.948 - <sender>cancelButton</sender>
2.949 - <signal>pressed()</signal>
2.950 - <receiver>ExportXHTMLDialog</receiver>
2.951 - <slot>close()</slot>
2.952 - </connection>
2.953 - <connection>
2.954 - <sender>browseExportDirButton</sender>
2.955 - <signal>pressed()</signal>
2.956 - <receiver>ExportXHTMLDialog</receiver>
2.957 - <slot>browseDirectoryPressed()</slot>
2.958 - </connection>
2.959 - <connection>
2.960 - <sender>browseXSLButton</sender>
2.961 - <signal>pressed()</signal>
2.962 - <receiver>ExportXHTMLDialog</receiver>
2.963 - <slot>browseXSLPressed()</slot>
2.964 - </connection>
2.965 - <connection>
2.966 - <sender>browseCSSButton</sender>
2.967 - <signal>pressed()</signal>
2.968 - <receiver>ExportXHTMLDialog</receiver>
2.969 - <slot>browseCSSPressed()</slot>
2.970 - </connection>
2.971 - <connection>
2.972 - <sender>imageButton</sender>
2.973 - <signal>toggled(bool)</signal>
2.974 - <receiver>ExportXHTMLDialog</receiver>
2.975 - <slot>imageButtonPressed(bool)</slot>
2.976 - </connection>
2.977 - <connection>
2.978 - <sender>textColorButton</sender>
2.979 - <signal>toggled(bool)</signal>
2.980 - <receiver>ExportXHTMLDialog</receiver>
2.981 - <slot>textcolorButtonPressed(bool)</slot>
2.982 - </connection>
2.983 - <connection>
2.984 - <sender>lineEditDir</sender>
2.985 - <signal>textChanged(const QString&)</signal>
2.986 - <receiver>ExportXHTMLDialog</receiver>
2.987 - <slot>dirChanged()</slot>
2.988 - </connection>
2.989 - <connection>
2.990 - <sender>lineEditCSS</sender>
2.991 - <signal>textChanged(const QString&)</signal>
2.992 - <receiver>ExportXHTMLDialog</receiver>
2.993 - <slot>cssChanged()</slot>
2.994 - </connection>
2.995 - <connection>
2.996 - <sender>lineEditXSL</sender>
2.997 - <signal>textChanged(const QString&)</signal>
2.998 - <receiver>ExportXHTMLDialog</receiver>
2.999 - <slot>xslChanged()</slot>
2.1000 - </connection>
2.1001 - <connection>
2.1002 - <sender>warningsButton</sender>
2.1003 - <signal>toggled(bool)</signal>
2.1004 - <receiver>ExportXHTMLDialog</receiver>
2.1005 - <slot>warningsButtonPressed(bool)</slot>
2.1006 - </connection>
2.1007 - <connection>
2.1008 - <sender>saveSettingsInMapButton</sender>
2.1009 - <signal>toggled(bool)</signal>
2.1010 - <receiver>ExportXHTMLDialog</receiver>
2.1011 - <slot>saveSettingsInMapButtonPressed(bool)</slot>
2.1012 - </connection>
2.1013 - <connection>
2.1014 - <sender>browsePreExportButton</sender>
2.1015 - <signal>pressed()</signal>
2.1016 - <receiver>ExportXHTMLDialog</receiver>
2.1017 - <slot>browsePreExportButtonPressed()</slot>
2.1018 - </connection>
2.1019 - <connection>
2.1020 - <sender>lineEditPreScript</sender>
2.1021 - <signal>textChanged(const QString&)</signal>
2.1022 - <receiver>ExportXHTMLDialog</receiver>
2.1023 - <slot>prescriptChanged()</slot>
2.1024 - </connection>
2.1025 - <connection>
2.1026 - <sender>lineEditPostScript</sender>
2.1027 - <signal>textChanged(const QString&)</signal>
2.1028 - <receiver>ExportXHTMLDialog</receiver>
2.1029 - <slot>postscriptChanged()</slot>
2.1030 - </connection>
2.1031 - <connection>
2.1032 - <sender>browsePostExportButton</sender>
2.1033 - <signal>pressed()</signal>
2.1034 - <receiver>ExportXHTMLDialog</receiver>
2.1035 - <slot>browsePostExportButtonPressed()</slot>
2.1036 - </connection>
2.1037 -</connections>
2.1038 -<includes>
2.1039 - <include location="local" impldecl="in declaration">xsltproc.h</include>
2.1040 - <include location="local" impldecl="in declaration">process.h</include>
2.1041 - <include location="global" impldecl="in implementation">qfiledialog.h</include>
2.1042 - <include location="global" impldecl="in implementation">qmessagebox.h</include>
2.1043 - <include location="local" impldecl="in implementation">settings.h</include>
2.1044 - <include location="local" impldecl="in implementation">options.h</include>
2.1045 - <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
2.1046 -</includes>
2.1047 -<variables>
2.1048 - <variable>bool useTextColor;</variable>
2.1049 - <variable>bool showWarnings;</variable>
2.1050 - <variable>QString xsl;</variable>
2.1051 - <variable>QString css;</variable>
2.1052 - <variable>bool useImage;</variable>
2.1053 - <variable>bool showOutput;</variable>
2.1054 - <variable>QString dir;</variable>
2.1055 - <variable>QString filepath;</variable>
2.1056 - <variable>QString prescript;</variable>
2.1057 - <variable>QString postscript;</variable>
2.1058 - <variable>bool settingsChanged;</variable>
2.1059 - <variable>QString mapname;</variable>
2.1060 - <variable>bool saveSettingsInMap;</variable>
2.1061 - <variable>XSLTProc p;</variable>
2.1062 - <variable>Process *scriptProc;</variable>
2.1063 -</variables>
2.1064 -<slots>
2.1065 - <slot>readSettings()</slot>
2.1066 - <slot>dirChanged()</slot>
2.1067 - <slot>browseDirectoryPressed()</slot>
2.1068 - <slot>imageButtonPressed( bool b )</slot>
2.1069 - <slot>textcolorButtonPressed( bool b )</slot>
2.1070 - <slot>saveSettingsInMapButtonPressed( bool b )</slot>
2.1071 - <slot>warningsButtonPressed( bool b )</slot>
2.1072 - <slot>outputButtonPressed( bool b )</slot>
2.1073 - <slot>cssChanged()</slot>
2.1074 - <slot>browseCSSPressed()</slot>
2.1075 - <slot>xslChanged()</slot>
2.1076 - <slot>prescriptChanged()</slot>
2.1077 - <slot>browseXSLPressed()</slot>
2.1078 - <slot>postscriptChanged()</slot>
2.1079 - <slot>browsePreExportButtonPressed()</slot>
2.1080 - <slot>browsePostExportButtonPressed()</slot>
2.1081 - <slot>doExport( const QString & mapname )</slot>
2.1082 - <slot>setFilePath( const QString & s )</slot>
2.1083 - <slot>setMapName( const QString & s )</slot>
2.1084 -</slots>
2.1085 -<functions>
2.1086 - <function access="private" specifier="non virtual">init()</function>
2.1087 - <function access="private" specifier="non virtual">destroy()</function>
2.1088 - <function returnType="QString">getDir()</function>
2.1089 - <function returnType="bool">warnings()</function>
2.1090 - <function returnType="bool">hasChanged()</function>
2.1091 - <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
2.1092 -</functions>
2.1093 -<pixmapinproject/>
2.1094 -<layoutdefaults spacing="6" margin="11"/>
2.1095 -</UI>
2.1096 + </property>
2.1097 + </spacer>
2.1098 + </item>
2.1099 + <item>
2.1100 + <widget class="QPushButton" name="exportButton" >
2.1101 + <property name="text" >
2.1102 + <string>Export</string>
2.1103 + </property>
2.1104 + <property name="default" >
2.1105 + <bool>true</bool>
2.1106 + </property>
2.1107 + </widget>
2.1108 + </item>
2.1109 + <item>
2.1110 + <widget class="QPushButton" name="cancelButton" >
2.1111 + <property name="text" >
2.1112 + <string>Cancel</string>
2.1113 + </property>
2.1114 + </widget>
2.1115 + </item>
2.1116 + </layout>
2.1117 + </item>
2.1118 + </layout>
2.1119 + </widget>
2.1120 + <layoutdefault spacing="6" margin="11" />
2.1121 + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
2.1122 + <customwidgets>
2.1123 + <customwidget>
2.1124 + <class>Q3GroupBox</class>
2.1125 + <extends></extends>
2.1126 + <header>Qt3Support/Q3GroupBox</header>
2.1127 + <container>1</container>
2.1128 + <pixmap></pixmap>
2.1129 + </customwidget>
2.1130 + <customwidget>
2.1131 + <class>Q3ButtonGroup</class>
2.1132 + <extends></extends>
2.1133 + <header>Qt3Support/Q3ButtonGroup</header>
2.1134 + <container>1</container>
2.1135 + <pixmap></pixmap>
2.1136 + </customwidget>
2.1137 + </customwidgets>
2.1138 + <includes>
2.1139 + <include location="local" >xsltproc.h</include>
2.1140 + <include location="local" >process.h</include>
2.1141 + </includes>
2.1142 + <resources/>
2.1143 + <connections>
2.1144 + <connection>
2.1145 + <sender>cancelButton</sender>
2.1146 + <signal>clicked()</signal>
2.1147 + <receiver>ExportXHTMLDialog</receiver>
2.1148 + <slot>reject()</slot>
2.1149 + <hints>
2.1150 + <hint type="sourcelabel" >
2.1151 + <x>459</x>
2.1152 + <y>443</y>
2.1153 + </hint>
2.1154 + <hint type="destinationlabel" >
2.1155 + <x>256</x>
2.1156 + <y>233</y>
2.1157 + </hint>
2.1158 + </hints>
2.1159 + </connection>
2.1160 + <connection>
2.1161 + <sender>exportButton</sender>
2.1162 + <signal>clicked()</signal>
2.1163 + <receiver>ExportXHTMLDialog</receiver>
2.1164 + <slot>accept()</slot>
2.1165 + <hints>
2.1166 + <hint type="sourcelabel" >
2.1167 + <x>368</x>
2.1168 + <y>443</y>
2.1169 + </hint>
2.1170 + <hint type="destinationlabel" >
2.1171 + <x>256</x>
2.1172 + <y>233</y>
2.1173 + </hint>
2.1174 + </hints>
2.1175 + </connection>
2.1176 + </connections>
2.1177 +</ui>