exportxhtmldialog.ui
author insilmaril
Thu, 17 Jul 2008 12:55:24 +0000
branchrelease-1-12-maintained
changeset 41 6f28020b33d1
parent 0 7a96bd401351
child 102 dba9303a1a5c
permissions -rw-r--r--
No jumping around left of MCO if animation is turned on
     1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
     2 <class>ExportXHTMLDialog</class>
     3 <widget class="QDialog">
     4     <property name="name">
     5         <cstring>ExportXHTMLDialog</cstring>
     6     </property>
     7     <property name="geometry">
     8         <rect>
     9             <x>0</x>
    10             <y>0</y>
    11             <width>582</width>
    12             <height>599</height>
    13         </rect>
    14     </property>
    15     <property name="minimumSize">
    16         <size>
    17             <width>0</width>
    18             <height>130</height>
    19         </size>
    20     </property>
    21     <property name="caption">
    22         <string>Export XHTML</string>
    23     </property>
    24     <vbox>
    25         <property name="name">
    26             <cstring>unnamed</cstring>
    27         </property>
    28         <widget class="QLayoutWidget">
    29             <property name="name">
    30                 <cstring>layout33</cstring>
    31             </property>
    32             <hbox>
    33                 <property name="name">
    34                     <cstring>unnamed</cstring>
    35                 </property>
    36                 <widget class="QLabel">
    37                     <property name="name">
    38                         <cstring>textLabel1</cstring>
    39                     </property>
    40                     <property name="text">
    41                         <string>Export to directory:</string>
    42                     </property>
    43                 </widget>
    44                 <widget class="QLineEdit">
    45                     <property name="name">
    46                         <cstring>lineEditDir</cstring>
    47                     </property>
    48                 </widget>
    49                 <widget class="QPushButton">
    50                     <property name="name">
    51                         <cstring>browseExportDirButton</cstring>
    52                     </property>
    53                     <property name="text">
    54                         <string>Browse</string>
    55                     </property>
    56                 </widget>
    57             </hbox>
    58         </widget>
    59         <widget class="QButtonGroup">
    60             <property name="name">
    61                 <cstring>buttonGroup2</cstring>
    62             </property>
    63             <property name="sizePolicy">
    64                 <sizepolicy>
    65                     <hsizetype>3</hsizetype>
    66                     <vsizetype>3</vsizetype>
    67                     <horstretch>0</horstretch>
    68                     <verstretch>0</verstretch>
    69                 </sizepolicy>
    70             </property>
    71             <property name="minimumSize">
    72                 <size>
    73                     <width>0</width>
    74                     <height>160</height>
    75                 </size>
    76             </property>
    77             <property name="title">
    78                 <string>Options</string>
    79             </property>
    80             <vbox>
    81                 <property name="name">
    82                     <cstring>unnamed</cstring>
    83                 </property>
    84                 <widget class="QCheckBox">
    85                     <property name="name">
    86                         <cstring>imageButton</cstring>
    87                     </property>
    88                     <property name="text">
    89                         <string>Include image</string>
    90                     </property>
    91                 </widget>
    92                 <widget class="QCheckBox">
    93                     <property name="name">
    94                         <cstring>textColorButton</cstring>
    95                     </property>
    96                     <property name="text">
    97                         <string>Colored headings in text</string>
    98                     </property>
    99                 </widget>
   100                 <widget class="QCheckBox">
   101                     <property name="name">
   102                         <cstring>saveSettingsInMapButton</cstring>
   103                     </property>
   104                     <property name="text">
   105                         <string>Save settings in map</string>
   106                     </property>
   107                 </widget>
   108                 <widget class="QCheckBox">
   109                     <property name="name">
   110                         <cstring>warningsButton</cstring>
   111                     </property>
   112                     <property name="text">
   113                         <string>showWarnings e.g. if directory is not empty</string>
   114                     </property>
   115                 </widget>
   116                 <widget class="QCheckBox">
   117                     <property name="name">
   118                         <cstring>outputButton</cstring>
   119                     </property>
   120                     <property name="sizePolicy">
   121                         <sizepolicy>
   122                             <hsizetype>1</hsizetype>
   123                             <vsizetype>0</vsizetype>
   124                             <horstretch>0</horstretch>
   125                             <verstretch>0</verstretch>
   126                         </sizepolicy>
   127                     </property>
   128                     <property name="text">
   129                         <string>show output of external scripts</string>
   130                     </property>
   131                 </widget>
   132             </vbox>
   133         </widget>
   134         <widget class="QButtonGroup">
   135             <property name="name">
   136                 <cstring>buttonGroup2_2</cstring>
   137             </property>
   138             <property name="sizePolicy">
   139                 <sizepolicy>
   140                     <hsizetype>3</hsizetype>
   141                     <vsizetype>3</vsizetype>
   142                     <horstretch>0</horstretch>
   143                     <verstretch>0</verstretch>
   144                 </sizepolicy>
   145             </property>
   146             <property name="title">
   147                 <string>Stylesheets</string>
   148             </property>
   149             <widget class="QLayoutWidget">
   150                 <property name="name">
   151                     <cstring>layout7</cstring>
   152                 </property>
   153                 <property name="geometry">
   154                     <rect>
   155                         <x>10</x>
   156                         <y>30</y>
   157                         <width>540</width>
   158                         <height>84</height>
   159                     </rect>
   160                 </property>
   161                 <vbox>
   162                     <property name="name">
   163                         <cstring>unnamed</cstring>
   164                     </property>
   165                     <widget class="QLayoutWidget">
   166                         <property name="name">
   167                             <cstring>layout5</cstring>
   168                         </property>
   169                         <hbox>
   170                             <property name="name">
   171                                 <cstring>unnamed</cstring>
   172                             </property>
   173                             <widget class="QLabel">
   174                                 <property name="name">
   175                                     <cstring>textLabel1_2</cstring>
   176                                 </property>
   177                                 <property name="text">
   178                                     <string>CSS:</string>
   179                                 </property>
   180                             </widget>
   181                             <widget class="QLineEdit">
   182                                 <property name="name">
   183                                     <cstring>lineEditCSS</cstring>
   184                                 </property>
   185                             </widget>
   186                             <widget class="QPushButton">
   187                                 <property name="name">
   188                                     <cstring>browseCSSButton</cstring>
   189                                 </property>
   190                                 <property name="text">
   191                                     <string>Browse</string>
   192                                 </property>
   193                             </widget>
   194                         </hbox>
   195                     </widget>
   196                     <widget class="QLayoutWidget">
   197                         <property name="name">
   198                             <cstring>layout6</cstring>
   199                         </property>
   200                         <hbox>
   201                             <property name="name">
   202                                 <cstring>unnamed</cstring>
   203                             </property>
   204                             <widget class="QLabel">
   205                                 <property name="name">
   206                                     <cstring>textLabel2</cstring>
   207                                 </property>
   208                                 <property name="text">
   209                                     <string>XSL:</string>
   210                                 </property>
   211                             </widget>
   212                             <widget class="QLineEdit">
   213                                 <property name="name">
   214                                     <cstring>lineEditXSL</cstring>
   215                                 </property>
   216                             </widget>
   217                             <widget class="QPushButton">
   218                                 <property name="name">
   219                                     <cstring>browseXSLButton</cstring>
   220                                 </property>
   221                                 <property name="text">
   222                                     <string>Browse</string>
   223                                 </property>
   224                             </widget>
   225                         </hbox>
   226                     </widget>
   227                 </vbox>
   228             </widget>
   229         </widget>
   230         <widget class="QGroupBox">
   231             <property name="name">
   232                 <cstring>groupBox1</cstring>
   233             </property>
   234             <property name="title">
   235                 <string>Scripts</string>
   236             </property>
   237             <widget class="QLabel">
   238                 <property name="name">
   239                     <cstring>textLabel1_3</cstring>
   240                 </property>
   241                 <property name="geometry">
   242                     <rect>
   243                         <x>12</x>
   244                         <y>22</y>
   245                         <width>110</width>
   246                         <height>36</height>
   247                     </rect>
   248                 </property>
   249                 <property name="text">
   250                     <string>Before export:</string>
   251                 </property>
   252             </widget>
   253             <widget class="QLineEdit">
   254                 <property name="name">
   255                     <cstring>lineEditPreScript</cstring>
   256                 </property>
   257                 <property name="geometry">
   258                     <rect>
   259                         <x>128</x>
   260                         <y>26</y>
   261                         <width>322</width>
   262                         <height>28</height>
   263                     </rect>
   264                 </property>
   265             </widget>
   266             <widget class="QPushButton">
   267                 <property name="name">
   268                     <cstring>browsePreExportButton</cstring>
   269                 </property>
   270                 <property name="geometry">
   271                     <rect>
   272                         <x>456</x>
   273                         <y>22</y>
   274                         <width>94</width>
   275                         <height>36</height>
   276                     </rect>
   277                 </property>
   278                 <property name="text">
   279                     <string>Browse</string>
   280                 </property>
   281             </widget>
   282             <widget class="QLabel">
   283                 <property name="name">
   284                     <cstring>textLabel2_2</cstring>
   285                 </property>
   286                 <property name="geometry">
   287                     <rect>
   288                         <x>11</x>
   289                         <y>61</y>
   290                         <width>99</width>
   291                         <height>36</height>
   292                     </rect>
   293                 </property>
   294                 <property name="text">
   295                     <string>After Export:</string>
   296                 </property>
   297             </widget>
   298             <widget class="QLineEdit">
   299                 <property name="name">
   300                     <cstring>lineEditPostScript</cstring>
   301                 </property>
   302                 <property name="geometry">
   303                     <rect>
   304                         <x>116</x>
   305                         <y>65</y>
   306                         <width>333</width>
   307                         <height>28</height>
   308                     </rect>
   309                 </property>
   310             </widget>
   311             <widget class="QPushButton">
   312                 <property name="name">
   313                     <cstring>browsePostExportButton</cstring>
   314                 </property>
   315                 <property name="geometry">
   316                     <rect>
   317                         <x>455</x>
   318                         <y>61</y>
   319                         <width>94</width>
   320                         <height>36</height>
   321                     </rect>
   322                 </property>
   323                 <property name="text">
   324                     <string>Browse</string>
   325                 </property>
   326             </widget>
   327         </widget>
   328         <spacer>
   329             <property name="name">
   330                 <cstring>spacer3</cstring>
   331             </property>
   332             <property name="orientation">
   333                 <enum>Vertical</enum>
   334             </property>
   335             <property name="sizeType">
   336                 <enum>Expanding</enum>
   337             </property>
   338             <property name="sizeHint">
   339                 <size>
   340                     <width>20</width>
   341                     <height>31</height>
   342                 </size>
   343             </property>
   344         </spacer>
   345         <widget class="QLayoutWidget">
   346             <property name="name">
   347                 <cstring>layout17</cstring>
   348             </property>
   349             <hbox>
   350                 <property name="name">
   351                     <cstring>unnamed</cstring>
   352                 </property>
   353                 <spacer>
   354                     <property name="name">
   355                         <cstring>spacer5</cstring>
   356                     </property>
   357                     <property name="orientation">
   358                         <enum>Horizontal</enum>
   359                     </property>
   360                     <property name="sizeType">
   361                         <enum>Expanding</enum>
   362                     </property>
   363                     <property name="sizeHint">
   364                         <size>
   365                             <width>61</width>
   366                             <height>21</height>
   367                         </size>
   368                     </property>
   369                 </spacer>
   370                 <widget class="QPushButton">
   371                     <property name="name">
   372                         <cstring>exportButton</cstring>
   373                     </property>
   374                     <property name="text">
   375                         <string>Export</string>
   376                     </property>
   377                     <property name="default">
   378                         <bool>true</bool>
   379                     </property>
   380                 </widget>
   381                 <widget class="QPushButton">
   382                     <property name="name">
   383                         <cstring>cancelButton</cstring>
   384                     </property>
   385                     <property name="text">
   386                         <string>Cancel</string>
   387                     </property>
   388                 </widget>
   389             </hbox>
   390         </widget>
   391     </vbox>
   392 </widget>
   393 <connections>
   394     <connection>
   395         <sender>outputButton</sender>
   396         <signal>toggled(bool)</signal>
   397         <receiver>ExportXHTMLDialog</receiver>
   398         <slot>outputButtonPressed(bool)</slot>
   399     </connection>
   400     <connection>
   401         <sender>exportButton</sender>
   402         <signal>pressed()</signal>
   403         <receiver>ExportXHTMLDialog</receiver>
   404         <slot>accept()</slot>
   405     </connection>
   406     <connection>
   407         <sender>cancelButton</sender>
   408         <signal>pressed()</signal>
   409         <receiver>ExportXHTMLDialog</receiver>
   410         <slot>close()</slot>
   411     </connection>
   412     <connection>
   413         <sender>browseExportDirButton</sender>
   414         <signal>pressed()</signal>
   415         <receiver>ExportXHTMLDialog</receiver>
   416         <slot>browseDirectoryPressed()</slot>
   417     </connection>
   418     <connection>
   419         <sender>browseXSLButton</sender>
   420         <signal>pressed()</signal>
   421         <receiver>ExportXHTMLDialog</receiver>
   422         <slot>browseXSLPressed()</slot>
   423     </connection>
   424     <connection>
   425         <sender>browseCSSButton</sender>
   426         <signal>pressed()</signal>
   427         <receiver>ExportXHTMLDialog</receiver>
   428         <slot>browseCSSPressed()</slot>
   429     </connection>
   430     <connection>
   431         <sender>imageButton</sender>
   432         <signal>toggled(bool)</signal>
   433         <receiver>ExportXHTMLDialog</receiver>
   434         <slot>imageButtonPressed(bool)</slot>
   435     </connection>
   436     <connection>
   437         <sender>textColorButton</sender>
   438         <signal>toggled(bool)</signal>
   439         <receiver>ExportXHTMLDialog</receiver>
   440         <slot>textcolorButtonPressed(bool)</slot>
   441     </connection>
   442     <connection>
   443         <sender>lineEditDir</sender>
   444         <signal>textChanged(const QString&amp;)</signal>
   445         <receiver>ExportXHTMLDialog</receiver>
   446         <slot>dirChanged()</slot>
   447     </connection>
   448     <connection>
   449         <sender>lineEditCSS</sender>
   450         <signal>textChanged(const QString&amp;)</signal>
   451         <receiver>ExportXHTMLDialog</receiver>
   452         <slot>cssChanged()</slot>
   453     </connection>
   454     <connection>
   455         <sender>lineEditXSL</sender>
   456         <signal>textChanged(const QString&amp;)</signal>
   457         <receiver>ExportXHTMLDialog</receiver>
   458         <slot>xslChanged()</slot>
   459     </connection>
   460     <connection>
   461         <sender>browsePreExportButton</sender>
   462         <signal>pressed()</signal>
   463         <receiver>ExportXHTMLDialog</receiver>
   464         <slot>browsePreExportButtonPressed()</slot>
   465     </connection>
   466     <connection>
   467         <sender>browsePostExportButton</sender>
   468         <signal>pressed()</signal>
   469         <receiver>ExportXHTMLDialog</receiver>
   470         <slot>browsePostExportButtonPressed()</slot>
   471     </connection>
   472     <connection>
   473         <sender>lineEditPreScript</sender>
   474         <signal>textChanged(const QString&amp;)</signal>
   475         <receiver>ExportXHTMLDialog</receiver>
   476         <slot>prescriptChanged()</slot>
   477     </connection>
   478     <connection>
   479         <sender>lineEditPostScript</sender>
   480         <signal>textChanged(const QString&amp;)</signal>
   481         <receiver>ExportXHTMLDialog</receiver>
   482         <slot>postscriptChanged()</slot>
   483     </connection>
   484     <connection>
   485         <sender>warningsButton</sender>
   486         <signal>toggled(bool)</signal>
   487         <receiver>ExportXHTMLDialog</receiver>
   488         <slot>warningsButtonPressed(bool)</slot>
   489     </connection>
   490     <connection>
   491         <sender>saveSettingsInMapButton</sender>
   492         <signal>toggled(bool)</signal>
   493         <receiver>ExportXHTMLDialog</receiver>
   494         <slot>saveSettingsInMapButtonPressed(bool)</slot>
   495     </connection>
   496 </connections>
   497 <includes>
   498     <include location="local" impldecl="in declaration">process.h</include>
   499     <include location="local" impldecl="in declaration">showtextdialog.h</include>
   500     <include location="global" impldecl="in implementation">qfiledialog.h</include>
   501     <include location="global" impldecl="in implementation">qmessagebox.h</include>
   502     <include location="local" impldecl="in implementation">settings.h</include>
   503     <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
   504     <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
   505 </includes>
   506 <variables>
   507     <variable>bool useTextColor;</variable>
   508     <variable>bool showWarnings;</variable>
   509     <variable>QString xsl;</variable>
   510     <variable>QString css;</variable>
   511     <variable>bool useImage;</variable>
   512     <variable>bool showOutput;</variable>
   513     <variable>Process *xsltProc;</variable>
   514     <variable>ShowTextDialog *dia;</variable>
   515     <variable>QString dir;</variable>
   516     <variable>QString xsltprocessor;</variable>
   517     <variable>QString filepath;</variable>
   518     <variable>QString prescript;</variable>
   519     <variable>QString postscript;</variable>
   520     <variable>bool settingsChanged;</variable>
   521     <variable>QString mapname;</variable>
   522     <variable>bool saveSettingsInMap;</variable>
   523 </variables>
   524 <slots>
   525     <slot>readSettings()</slot>
   526     <slot>dirChanged()</slot>
   527     <slot>browseDirectoryPressed()</slot>
   528     <slot>imageButtonPressed( bool b )</slot>
   529     <slot>textcolorButtonPressed( bool b )</slot>
   530     <slot>saveSettingsInMapButtonPressed( bool b )</slot>
   531     <slot>warningsButtonPressed( bool b )</slot>
   532     <slot>outputButtonPressed( bool b )</slot>
   533     <slot>cssChanged()</slot>
   534     <slot>browseCSSPressed()</slot>
   535     <slot>xslChanged()</slot>
   536     <slot>prescriptChanged()</slot>
   537     <slot>browseXSLPressed()</slot>
   538     <slot>postscriptChanged()</slot>
   539     <slot>browsePreExportButtonPressed()</slot>
   540     <slot>browsePostExportButtonPressed()</slot>
   541     <slot>doExport( const QString &amp; mapname )</slot>
   542     <slot>setFilePath( const QString &amp; s )</slot>
   543     <slot>setMapName( const QString &amp; s )</slot>
   544 </slots>
   545 <functions>
   546     <function access="private" specifier="non virtual">init()</function>
   547     <function access="private" specifier="non virtual">destroy()</function>
   548     <function returnType="QString">getDir()</function>
   549     <function returnType="bool">warnings()</function>
   550     <function returnType="bool">hasChanged()</function>
   551     <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
   552 </functions>
   553 <pixmapinproject/>
   554 <layoutdefaults spacing="6" margin="11"/>
   555 </UI>