exportxhtmldialog.ui
author insilmaril
Tue Jul 12 12:02:55 2005 +0000 (2005-07-12)
changeset 126 1ad2d5c80848
parent 106 4083860dd82e
child 129 9b9c7e8b9147
permissions -rw-r--r--
1.7.0
     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>614</width>
    12             <height>757</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>layout17</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="sizePolicy">
    41                         <sizepolicy>
    42                             <hsizetype>1</hsizetype>
    43                             <vsizetype>5</vsizetype>
    44                             <horstretch>0</horstretch>
    45                             <verstretch>0</verstretch>
    46                         </sizepolicy>
    47                     </property>
    48                     <property name="text">
    49                         <string>Export to directory:</string>
    50                     </property>
    51                 </widget>
    52                 <widget class="QLineEdit">
    53                     <property name="name">
    54                         <cstring>lineEditDir</cstring>
    55                     </property>
    56                     <property name="sizePolicy">
    57                         <sizepolicy>
    58                             <hsizetype>7</hsizetype>
    59                             <vsizetype>0</vsizetype>
    60                             <horstretch>0</horstretch>
    61                             <verstretch>0</verstretch>
    62                         </sizepolicy>
    63                     </property>
    64                 </widget>
    65                 <widget class="QPushButton">
    66                     <property name="name">
    67                         <cstring>browseExportDirButton</cstring>
    68                     </property>
    69                     <property name="sizePolicy">
    70                         <sizepolicy>
    71                             <hsizetype>0</hsizetype>
    72                             <vsizetype>0</vsizetype>
    73                             <horstretch>0</horstretch>
    74                             <verstretch>0</verstretch>
    75                         </sizepolicy>
    76                     </property>
    77                     <property name="text">
    78                         <string>Browse</string>
    79                     </property>
    80                 </widget>
    81             </hbox>
    82         </widget>
    83         <widget class="QButtonGroup">
    84             <property name="name">
    85                 <cstring>buttonGroup2</cstring>
    86             </property>
    87             <property name="sizePolicy">
    88                 <sizepolicy>
    89                     <hsizetype>3</hsizetype>
    90                     <vsizetype>3</vsizetype>
    91                     <horstretch>0</horstretch>
    92                     <verstretch>0</verstretch>
    93                 </sizepolicy>
    94             </property>
    95             <property name="minimumSize">
    96                 <size>
    97                     <width>0</width>
    98                     <height>160</height>
    99                 </size>
   100             </property>
   101             <property name="title">
   102                 <string>Options</string>
   103             </property>
   104             <vbox>
   105                 <property name="name">
   106                     <cstring>unnamed</cstring>
   107                 </property>
   108                 <widget class="QCheckBox">
   109                     <property name="name">
   110                         <cstring>imageButton</cstring>
   111                     </property>
   112                     <property name="text">
   113                         <string>Include image</string>
   114                     </property>
   115                 </widget>
   116                 <widget class="QCheckBox">
   117                     <property name="name">
   118                         <cstring>textColorButton</cstring>
   119                     </property>
   120                     <property name="text">
   121                         <string>Colored headings in text</string>
   122                     </property>
   123                 </widget>
   124                 <widget class="QCheckBox">
   125                     <property name="name">
   126                         <cstring>saveSettingsInMapButton</cstring>
   127                     </property>
   128                     <property name="text">
   129                         <string>Save settings in map</string>
   130                     </property>
   131                 </widget>
   132                 <widget class="QCheckBox">
   133                     <property name="name">
   134                         <cstring>warningsButton</cstring>
   135                     </property>
   136                     <property name="text">
   137                         <string>showWarnings e.g. if directory is not empty</string>
   138                     </property>
   139                 </widget>
   140                 <widget class="QCheckBox">
   141                     <property name="name">
   142                         <cstring>outputButton</cstring>
   143                     </property>
   144                     <property name="sizePolicy">
   145                         <sizepolicy>
   146                             <hsizetype>1</hsizetype>
   147                             <vsizetype>0</vsizetype>
   148                             <horstretch>0</horstretch>
   149                             <verstretch>0</verstretch>
   150                         </sizepolicy>
   151                     </property>
   152                     <property name="text">
   153                         <string>show output of external scripts</string>
   154                     </property>
   155                 </widget>
   156             </vbox>
   157         </widget>
   158         <widget class="QLayoutWidget">
   159             <property name="name">
   160                 <cstring>layout6</cstring>
   161             </property>
   162             <grid>
   163                 <property name="name">
   164                     <cstring>unnamed</cstring>
   165                 </property>
   166                 <widget class="QPushButton" row="5" column="3">
   167                     <property name="name">
   168                         <cstring>browsePostExportButton</cstring>
   169                     </property>
   170                     <property name="sizePolicy">
   171                         <sizepolicy>
   172                             <hsizetype>0</hsizetype>
   173                             <vsizetype>0</vsizetype>
   174                             <horstretch>0</horstretch>
   175                             <verstretch>0</verstretch>
   176                         </sizepolicy>
   177                     </property>
   178                     <property name="text">
   179                         <string>Browse</string>
   180                     </property>
   181                 </widget>
   182                 <widget class="QLabel" row="4" column="0" rowspan="1" colspan="2">
   183                     <property name="name">
   184                         <cstring>textLabel1_3</cstring>
   185                     </property>
   186                     <property name="sizePolicy">
   187                         <sizepolicy>
   188                             <hsizetype>1</hsizetype>
   189                             <vsizetype>5</vsizetype>
   190                             <horstretch>0</horstretch>
   191                             <verstretch>0</verstretch>
   192                         </sizepolicy>
   193                     </property>
   194                     <property name="text">
   195                         <string>Before export:</string>
   196                     </property>
   197                     <property name="alignment">
   198                         <set>AlignVCenter|AlignRight</set>
   199                     </property>
   200                 </widget>
   201                 <widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
   202                     <property name="name">
   203                         <cstring>lineEditXSL</cstring>
   204                     </property>
   205                 </widget>
   206                 <widget class="QPushButton" row="2" column="3">
   207                     <property name="name">
   208                         <cstring>browseXSLButton</cstring>
   209                     </property>
   210                     <property name="sizePolicy">
   211                         <sizepolicy>
   212                             <hsizetype>0</hsizetype>
   213                             <vsizetype>0</vsizetype>
   214                             <horstretch>0</horstretch>
   215                             <verstretch>0</verstretch>
   216                         </sizepolicy>
   217                     </property>
   218                     <property name="text">
   219                         <string>Browse</string>
   220                     </property>
   221                 </widget>
   222                 <widget class="QLineEdit" row="4" column="2">
   223                     <property name="name">
   224                         <cstring>lineEditPreScript</cstring>
   225                     </property>
   226                 </widget>
   227                 <widget class="QPushButton" row="4" column="3">
   228                     <property name="name">
   229                         <cstring>browsePreExportButton</cstring>
   230                     </property>
   231                     <property name="sizePolicy">
   232                         <sizepolicy>
   233                             <hsizetype>0</hsizetype>
   234                             <vsizetype>0</vsizetype>
   235                             <horstretch>0</horstretch>
   236                             <verstretch>0</verstretch>
   237                         </sizepolicy>
   238                     </property>
   239                     <property name="text">
   240                         <string>Browse</string>
   241                     </property>
   242                 </widget>
   243                 <widget class="QLabel" row="0" column="0">
   244                     <property name="name">
   245                         <cstring>textLabel2_3</cstring>
   246                     </property>
   247                     <property name="text">
   248                         <string>Stylesheets:</string>
   249                     </property>
   250                 </widget>
   251                 <widget class="QPushButton" row="1" column="3">
   252                     <property name="name">
   253                         <cstring>browseCSSButton</cstring>
   254                     </property>
   255                     <property name="sizePolicy">
   256                         <sizepolicy>
   257                             <hsizetype>0</hsizetype>
   258                             <vsizetype>0</vsizetype>
   259                             <horstretch>0</horstretch>
   260                             <verstretch>0</verstretch>
   261                         </sizepolicy>
   262                     </property>
   263                     <property name="text">
   264                         <string>Browse</string>
   265                     </property>
   266                 </widget>
   267                 <widget class="QLabel" row="1" column="0">
   268                     <property name="name">
   269                         <cstring>textLabel1_2</cstring>
   270                     </property>
   271                     <property name="text">
   272                         <string>CSS:</string>
   273                     </property>
   274                     <property name="alignment">
   275                         <set>AlignVCenter|AlignRight</set>
   276                     </property>
   277                 </widget>
   278                 <widget class="QLabel" row="5" column="0" rowspan="1" colspan="2">
   279                     <property name="name">
   280                         <cstring>textLabel2_2</cstring>
   281                     </property>
   282                     <property name="sizePolicy">
   283                         <sizepolicy>
   284                             <hsizetype>1</hsizetype>
   285                             <vsizetype>5</vsizetype>
   286                             <horstretch>0</horstretch>
   287                             <verstretch>0</verstretch>
   288                         </sizepolicy>
   289                     </property>
   290                     <property name="frameShape">
   291                         <enum>NoFrame</enum>
   292                     </property>
   293                     <property name="text">
   294                         <string>After Export:</string>
   295                     </property>
   296                     <property name="alignment">
   297                         <set>AlignVCenter|AlignRight</set>
   298                     </property>
   299                 </widget>
   300                 <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="2">
   301                     <property name="name">
   302                         <cstring>lineEditCSS</cstring>
   303                     </property>
   304                 </widget>
   305                 <widget class="QLabel" row="2" column="0">
   306                     <property name="name">
   307                         <cstring>textLabel2</cstring>
   308                     </property>
   309                     <property name="text">
   310                         <string>XSL:</string>
   311                     </property>
   312                     <property name="alignment">
   313                         <set>AlignVCenter|AlignRight</set>
   314                     </property>
   315                 </widget>
   316                 <widget class="QLineEdit" row="5" column="2">
   317                     <property name="name">
   318                         <cstring>lineEditPostScript</cstring>
   319                     </property>
   320                 </widget>
   321                 <widget class="QLabel" row="3" column="0">
   322                     <property name="name">
   323                         <cstring>textLabel1_4</cstring>
   324                     </property>
   325                     <property name="text">
   326                         <string>Scripts:</string>
   327                     </property>
   328                 </widget>
   329             </grid>
   330         </widget>
   331         <spacer>
   332             <property name="name">
   333                 <cstring>spacer3</cstring>
   334             </property>
   335             <property name="orientation">
   336                 <enum>Vertical</enum>
   337             </property>
   338             <property name="sizeType">
   339                 <enum>Expanding</enum>
   340             </property>
   341             <property name="sizeHint">
   342                 <size>
   343                     <width>20</width>
   344                     <height>60</height>
   345                 </size>
   346             </property>
   347         </spacer>
   348         <widget class="QLayoutWidget">
   349             <property name="name">
   350                 <cstring>layout17</cstring>
   351             </property>
   352             <hbox>
   353                 <property name="name">
   354                     <cstring>unnamed</cstring>
   355                 </property>
   356                 <spacer>
   357                     <property name="name">
   358                         <cstring>spacer5</cstring>
   359                     </property>
   360                     <property name="orientation">
   361                         <enum>Horizontal</enum>
   362                     </property>
   363                     <property name="sizeType">
   364                         <enum>Expanding</enum>
   365                     </property>
   366                     <property name="sizeHint">
   367                         <size>
   368                             <width>61</width>
   369                             <height>21</height>
   370                         </size>
   371                     </property>
   372                 </spacer>
   373                 <widget class="QPushButton">
   374                     <property name="name">
   375                         <cstring>exportButton</cstring>
   376                     </property>
   377                     <property name="text">
   378                         <string>Export</string>
   379                     </property>
   380                     <property name="default">
   381                         <bool>true</bool>
   382                     </property>
   383                 </widget>
   384                 <widget class="QPushButton">
   385                     <property name="name">
   386                         <cstring>cancelButton</cstring>
   387                     </property>
   388                     <property name="text">
   389                         <string>Cancel</string>
   390                     </property>
   391                 </widget>
   392             </hbox>
   393         </widget>
   394     </vbox>
   395 </widget>
   396 <connections>
   397     <connection>
   398         <sender>outputButton</sender>
   399         <signal>toggled(bool)</signal>
   400         <receiver>ExportXHTMLDialog</receiver>
   401         <slot>outputButtonPressed(bool)</slot>
   402     </connection>
   403     <connection>
   404         <sender>exportButton</sender>
   405         <signal>pressed()</signal>
   406         <receiver>ExportXHTMLDialog</receiver>
   407         <slot>accept()</slot>
   408     </connection>
   409     <connection>
   410         <sender>cancelButton</sender>
   411         <signal>pressed()</signal>
   412         <receiver>ExportXHTMLDialog</receiver>
   413         <slot>close()</slot>
   414     </connection>
   415     <connection>
   416         <sender>browseExportDirButton</sender>
   417         <signal>pressed()</signal>
   418         <receiver>ExportXHTMLDialog</receiver>
   419         <slot>browseDirectoryPressed()</slot>
   420     </connection>
   421     <connection>
   422         <sender>browseXSLButton</sender>
   423         <signal>pressed()</signal>
   424         <receiver>ExportXHTMLDialog</receiver>
   425         <slot>browseXSLPressed()</slot>
   426     </connection>
   427     <connection>
   428         <sender>browseCSSButton</sender>
   429         <signal>pressed()</signal>
   430         <receiver>ExportXHTMLDialog</receiver>
   431         <slot>browseCSSPressed()</slot>
   432     </connection>
   433     <connection>
   434         <sender>imageButton</sender>
   435         <signal>toggled(bool)</signal>
   436         <receiver>ExportXHTMLDialog</receiver>
   437         <slot>imageButtonPressed(bool)</slot>
   438     </connection>
   439     <connection>
   440         <sender>textColorButton</sender>
   441         <signal>toggled(bool)</signal>
   442         <receiver>ExportXHTMLDialog</receiver>
   443         <slot>textcolorButtonPressed(bool)</slot>
   444     </connection>
   445     <connection>
   446         <sender>lineEditDir</sender>
   447         <signal>textChanged(const QString&amp;)</signal>
   448         <receiver>ExportXHTMLDialog</receiver>
   449         <slot>dirChanged()</slot>
   450     </connection>
   451     <connection>
   452         <sender>lineEditCSS</sender>
   453         <signal>textChanged(const QString&amp;)</signal>
   454         <receiver>ExportXHTMLDialog</receiver>
   455         <slot>cssChanged()</slot>
   456     </connection>
   457     <connection>
   458         <sender>lineEditXSL</sender>
   459         <signal>textChanged(const QString&amp;)</signal>
   460         <receiver>ExportXHTMLDialog</receiver>
   461         <slot>xslChanged()</slot>
   462     </connection>
   463     <connection>
   464         <sender>warningsButton</sender>
   465         <signal>toggled(bool)</signal>
   466         <receiver>ExportXHTMLDialog</receiver>
   467         <slot>warningsButtonPressed(bool)</slot>
   468     </connection>
   469     <connection>
   470         <sender>saveSettingsInMapButton</sender>
   471         <signal>toggled(bool)</signal>
   472         <receiver>ExportXHTMLDialog</receiver>
   473         <slot>saveSettingsInMapButtonPressed(bool)</slot>
   474     </connection>
   475     <connection>
   476         <sender>browsePreExportButton</sender>
   477         <signal>pressed()</signal>
   478         <receiver>ExportXHTMLDialog</receiver>
   479         <slot>browsePreExportButtonPressed()</slot>
   480     </connection>
   481     <connection>
   482         <sender>lineEditPreScript</sender>
   483         <signal>textChanged(const QString&amp;)</signal>
   484         <receiver>ExportXHTMLDialog</receiver>
   485         <slot>prescriptChanged()</slot>
   486     </connection>
   487     <connection>
   488         <sender>lineEditPostScript</sender>
   489         <signal>textChanged(const QString&amp;)</signal>
   490         <receiver>ExportXHTMLDialog</receiver>
   491         <slot>postscriptChanged()</slot>
   492     </connection>
   493     <connection>
   494         <sender>browsePostExportButton</sender>
   495         <signal>pressed()</signal>
   496         <receiver>ExportXHTMLDialog</receiver>
   497         <slot>browsePostExportButtonPressed()</slot>
   498     </connection>
   499 </connections>
   500 <includes>
   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>
   508 </includes>
   509 <variables>
   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>
   526 </variables>
   527 <slots>
   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 &amp; mapname )</slot>
   545     <slot>setFilePath( const QString &amp; s )</slot>
   546     <slot>setMapName( const QString &amp; s )</slot>
   547 </slots>
   548 <functions>
   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>
   555 </functions>
   556 <pixmapinproject/>
   557 <layoutdefaults spacing="6" margin="11"/>
   558 </UI>