exportxhtmldialog.ui
author insilmaril
Fri, 08 Jul 2005 07:24:42 +0000
changeset 114 ba1ec9a16516
parent 106 4083860dd82e
child 125 8cdfa8dda71e
permissions -rw-r--r--
changes for 1.6.9
     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="QButtonGroup">
   159             <property name="name">
   160                 <cstring>buttonGroup2_2</cstring>
   161             </property>
   162             <property name="sizePolicy">
   163                 <sizepolicy>
   164                     <hsizetype>3</hsizetype>
   165                     <vsizetype>3</vsizetype>
   166                     <horstretch>0</horstretch>
   167                     <verstretch>0</verstretch>
   168                 </sizepolicy>
   169             </property>
   170             <property name="title">
   171                 <string>Stylesheets</string>
   172             </property>
   173             <widget class="QLayoutWidget">
   174                 <property name="name">
   175                     <cstring>layout19</cstring>
   176                 </property>
   177                 <property name="geometry">
   178                     <rect>
   179                         <x>9</x>
   180                         <y>24</y>
   181                         <width>562</width>
   182                         <height>31</height>
   183                     </rect>
   184                 </property>
   185                 <hbox>
   186                     <property name="name">
   187                         <cstring>unnamed</cstring>
   188                     </property>
   189                     <widget class="QLabel">
   190                         <property name="name">
   191                             <cstring>textLabel1_2</cstring>
   192                         </property>
   193                         <property name="text">
   194                             <string>CSS:</string>
   195                         </property>
   196                         <property name="alignment">
   197                             <set>AlignVCenter|AlignRight</set>
   198                         </property>
   199                     </widget>
   200                     <widget class="QLineEdit">
   201                         <property name="name">
   202                             <cstring>lineEditCSS</cstring>
   203                         </property>
   204                     </widget>
   205                     <widget class="QPushButton">
   206                         <property name="name">
   207                             <cstring>browseCSSButton</cstring>
   208                         </property>
   209                         <property name="sizePolicy">
   210                             <sizepolicy>
   211                                 <hsizetype>0</hsizetype>
   212                                 <vsizetype>0</vsizetype>
   213                                 <horstretch>0</horstretch>
   214                                 <verstretch>0</verstretch>
   215                             </sizepolicy>
   216                         </property>
   217                         <property name="text">
   218                             <string>Browse</string>
   219                         </property>
   220                     </widget>
   221                 </hbox>
   222             </widget>
   223             <widget class="QLayoutWidget">
   224                 <property name="name">
   225                     <cstring>layout20</cstring>
   226                 </property>
   227                 <property name="geometry">
   228                     <rect>
   229                         <x>9</x>
   230                         <y>64</y>
   231                         <width>562</width>
   232                         <height>31</height>
   233                     </rect>
   234                 </property>
   235                 <hbox>
   236                     <property name="name">
   237                         <cstring>unnamed</cstring>
   238                     </property>
   239                     <widget class="QLabel">
   240                         <property name="name">
   241                             <cstring>textLabel2</cstring>
   242                         </property>
   243                         <property name="text">
   244                             <string>XSL:</string>
   245                         </property>
   246                         <property name="alignment">
   247                             <set>AlignVCenter|AlignRight</set>
   248                         </property>
   249                     </widget>
   250                     <widget class="QLineEdit">
   251                         <property name="name">
   252                             <cstring>lineEditXSL</cstring>
   253                         </property>
   254                     </widget>
   255                     <widget class="QPushButton">
   256                         <property name="name">
   257                             <cstring>browseXSLButton</cstring>
   258                         </property>
   259                         <property name="sizePolicy">
   260                             <sizepolicy>
   261                                 <hsizetype>0</hsizetype>
   262                                 <vsizetype>0</vsizetype>
   263                                 <horstretch>0</horstretch>
   264                                 <verstretch>0</verstretch>
   265                             </sizepolicy>
   266                         </property>
   267                         <property name="text">
   268                             <string>Browse</string>
   269                         </property>
   270                     </widget>
   271                 </hbox>
   272             </widget>
   273         </widget>
   274         <widget class="QGroupBox">
   275             <property name="name">
   276                 <cstring>groupBox2</cstring>
   277             </property>
   278             <property name="title">
   279                 <string>groupBox2</string>
   280             </property>
   281         </widget>
   282         <widget class="QLayoutWidget">
   283             <property name="name">
   284                 <cstring>layout6</cstring>
   285             </property>
   286             <grid>
   287                 <property name="name">
   288                     <cstring>unnamed</cstring>
   289                 </property>
   290                 <widget class="QLabel" row="1" column="0">
   291                     <property name="name">
   292                         <cstring>textLabel2_2</cstring>
   293                     </property>
   294                     <property name="sizePolicy">
   295                         <sizepolicy>
   296                             <hsizetype>1</hsizetype>
   297                             <vsizetype>5</vsizetype>
   298                             <horstretch>0</horstretch>
   299                             <verstretch>0</verstretch>
   300                         </sizepolicy>
   301                     </property>
   302                     <property name="frameShape">
   303                         <enum>NoFrame</enum>
   304                     </property>
   305                     <property name="text">
   306                         <string>After Export:</string>
   307                     </property>
   308                     <property name="alignment">
   309                         <set>AlignVCenter|AlignRight</set>
   310                     </property>
   311                 </widget>
   312                 <widget class="QLineEdit" row="0" column="1">
   313                     <property name="name">
   314                         <cstring>lineEditPreScript</cstring>
   315                     </property>
   316                 </widget>
   317                 <widget class="QPushButton" row="0" column="2">
   318                     <property name="name">
   319                         <cstring>browsePreExportButton</cstring>
   320                     </property>
   321                     <property name="sizePolicy">
   322                         <sizepolicy>
   323                             <hsizetype>0</hsizetype>
   324                             <vsizetype>0</vsizetype>
   325                             <horstretch>0</horstretch>
   326                             <verstretch>0</verstretch>
   327                         </sizepolicy>
   328                     </property>
   329                     <property name="text">
   330                         <string>Browse</string>
   331                     </property>
   332                 </widget>
   333                 <widget class="QLabel" row="0" column="0">
   334                     <property name="name">
   335                         <cstring>textLabel1_3</cstring>
   336                     </property>
   337                     <property name="sizePolicy">
   338                         <sizepolicy>
   339                             <hsizetype>1</hsizetype>
   340                             <vsizetype>5</vsizetype>
   341                             <horstretch>0</horstretch>
   342                             <verstretch>0</verstretch>
   343                         </sizepolicy>
   344                     </property>
   345                     <property name="text">
   346                         <string>Before export:</string>
   347                     </property>
   348                     <property name="alignment">
   349                         <set>AlignVCenter|AlignRight</set>
   350                     </property>
   351                 </widget>
   352                 <widget class="QLineEdit" row="1" column="1">
   353                     <property name="name">
   354                         <cstring>lineEditPostScript</cstring>
   355                     </property>
   356                 </widget>
   357                 <widget class="QPushButton" row="1" column="2">
   358                     <property name="name">
   359                         <cstring>browsePostExportButton</cstring>
   360                     </property>
   361                     <property name="sizePolicy">
   362                         <sizepolicy>
   363                             <hsizetype>0</hsizetype>
   364                             <vsizetype>0</vsizetype>
   365                             <horstretch>0</horstretch>
   366                             <verstretch>0</verstretch>
   367                         </sizepolicy>
   368                     </property>
   369                     <property name="text">
   370                         <string>Browse</string>
   371                     </property>
   372                 </widget>
   373             </grid>
   374         </widget>
   375         <spacer>
   376             <property name="name">
   377                 <cstring>spacer3</cstring>
   378             </property>
   379             <property name="orientation">
   380                 <enum>Vertical</enum>
   381             </property>
   382             <property name="sizeType">
   383                 <enum>Expanding</enum>
   384             </property>
   385             <property name="sizeHint">
   386                 <size>
   387                     <width>20</width>
   388                     <height>40</height>
   389                 </size>
   390             </property>
   391         </spacer>
   392         <widget class="QLayoutWidget">
   393             <property name="name">
   394                 <cstring>layout17</cstring>
   395             </property>
   396             <hbox>
   397                 <property name="name">
   398                     <cstring>unnamed</cstring>
   399                 </property>
   400                 <spacer>
   401                     <property name="name">
   402                         <cstring>spacer5</cstring>
   403                     </property>
   404                     <property name="orientation">
   405                         <enum>Horizontal</enum>
   406                     </property>
   407                     <property name="sizeType">
   408                         <enum>Expanding</enum>
   409                     </property>
   410                     <property name="sizeHint">
   411                         <size>
   412                             <width>61</width>
   413                             <height>21</height>
   414                         </size>
   415                     </property>
   416                 </spacer>
   417                 <widget class="QPushButton">
   418                     <property name="name">
   419                         <cstring>exportButton</cstring>
   420                     </property>
   421                     <property name="text">
   422                         <string>Export</string>
   423                     </property>
   424                     <property name="default">
   425                         <bool>true</bool>
   426                     </property>
   427                 </widget>
   428                 <widget class="QPushButton">
   429                     <property name="name">
   430                         <cstring>cancelButton</cstring>
   431                     </property>
   432                     <property name="text">
   433                         <string>Cancel</string>
   434                     </property>
   435                 </widget>
   436             </hbox>
   437         </widget>
   438     </vbox>
   439 </widget>
   440 <connections>
   441     <connection>
   442         <sender>outputButton</sender>
   443         <signal>toggled(bool)</signal>
   444         <receiver>ExportXHTMLDialog</receiver>
   445         <slot>outputButtonPressed(bool)</slot>
   446     </connection>
   447     <connection>
   448         <sender>exportButton</sender>
   449         <signal>pressed()</signal>
   450         <receiver>ExportXHTMLDialog</receiver>
   451         <slot>accept()</slot>
   452     </connection>
   453     <connection>
   454         <sender>cancelButton</sender>
   455         <signal>pressed()</signal>
   456         <receiver>ExportXHTMLDialog</receiver>
   457         <slot>close()</slot>
   458     </connection>
   459     <connection>
   460         <sender>browseExportDirButton</sender>
   461         <signal>pressed()</signal>
   462         <receiver>ExportXHTMLDialog</receiver>
   463         <slot>browseDirectoryPressed()</slot>
   464     </connection>
   465     <connection>
   466         <sender>browseXSLButton</sender>
   467         <signal>pressed()</signal>
   468         <receiver>ExportXHTMLDialog</receiver>
   469         <slot>browseXSLPressed()</slot>
   470     </connection>
   471     <connection>
   472         <sender>browseCSSButton</sender>
   473         <signal>pressed()</signal>
   474         <receiver>ExportXHTMLDialog</receiver>
   475         <slot>browseCSSPressed()</slot>
   476     </connection>
   477     <connection>
   478         <sender>imageButton</sender>
   479         <signal>toggled(bool)</signal>
   480         <receiver>ExportXHTMLDialog</receiver>
   481         <slot>imageButtonPressed(bool)</slot>
   482     </connection>
   483     <connection>
   484         <sender>textColorButton</sender>
   485         <signal>toggled(bool)</signal>
   486         <receiver>ExportXHTMLDialog</receiver>
   487         <slot>textcolorButtonPressed(bool)</slot>
   488     </connection>
   489     <connection>
   490         <sender>lineEditDir</sender>
   491         <signal>textChanged(const QString&amp;)</signal>
   492         <receiver>ExportXHTMLDialog</receiver>
   493         <slot>dirChanged()</slot>
   494     </connection>
   495     <connection>
   496         <sender>lineEditCSS</sender>
   497         <signal>textChanged(const QString&amp;)</signal>
   498         <receiver>ExportXHTMLDialog</receiver>
   499         <slot>cssChanged()</slot>
   500     </connection>
   501     <connection>
   502         <sender>lineEditXSL</sender>
   503         <signal>textChanged(const QString&amp;)</signal>
   504         <receiver>ExportXHTMLDialog</receiver>
   505         <slot>xslChanged()</slot>
   506     </connection>
   507     <connection>
   508         <sender>warningsButton</sender>
   509         <signal>toggled(bool)</signal>
   510         <receiver>ExportXHTMLDialog</receiver>
   511         <slot>warningsButtonPressed(bool)</slot>
   512     </connection>
   513     <connection>
   514         <sender>saveSettingsInMapButton</sender>
   515         <signal>toggled(bool)</signal>
   516         <receiver>ExportXHTMLDialog</receiver>
   517         <slot>saveSettingsInMapButtonPressed(bool)</slot>
   518     </connection>
   519     <connection>
   520         <sender>browsePreExportButton</sender>
   521         <signal>pressed()</signal>
   522         <receiver>ExportXHTMLDialog</receiver>
   523         <slot>browsePreExportButtonPressed()</slot>
   524     </connection>
   525     <connection>
   526         <sender>lineEditPreScript</sender>
   527         <signal>textChanged(const QString&amp;)</signal>
   528         <receiver>ExportXHTMLDialog</receiver>
   529         <slot>prescriptChanged()</slot>
   530     </connection>
   531     <connection>
   532         <sender>lineEditPostScript</sender>
   533         <signal>textChanged(const QString&amp;)</signal>
   534         <receiver>ExportXHTMLDialog</receiver>
   535         <slot>postscriptChanged()</slot>
   536     </connection>
   537     <connection>
   538         <sender>browsePostExportButton</sender>
   539         <signal>pressed()</signal>
   540         <receiver>ExportXHTMLDialog</receiver>
   541         <slot>browsePostExportButtonPressed()</slot>
   542     </connection>
   543 </connections>
   544 <includes>
   545     <include location="local" impldecl="in declaration">process.h</include>
   546     <include location="local" impldecl="in declaration">showtextdialog.h</include>
   547     <include location="global" impldecl="in implementation">qfiledialog.h</include>
   548     <include location="global" impldecl="in implementation">qmessagebox.h</include>
   549     <include location="local" impldecl="in implementation">settings.h</include>
   550     <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
   551     <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
   552 </includes>
   553 <variables>
   554     <variable>bool useTextColor;</variable>
   555     <variable>bool showWarnings;</variable>
   556     <variable>QString xsl;</variable>
   557     <variable>QString css;</variable>
   558     <variable>bool useImage;</variable>
   559     <variable>bool showOutput;</variable>
   560     <variable>Process *xsltProc;</variable>
   561     <variable>ShowTextDialog *dia;</variable>
   562     <variable>QString dir;</variable>
   563     <variable>QString xsltprocessor;</variable>
   564     <variable>QString filepath;</variable>
   565     <variable>QString prescript;</variable>
   566     <variable>QString postscript;</variable>
   567     <variable>bool settingsChanged;</variable>
   568     <variable>QString mapname;</variable>
   569     <variable>bool saveSettingsInMap;</variable>
   570 </variables>
   571 <slots>
   572     <slot>readSettings()</slot>
   573     <slot>dirChanged()</slot>
   574     <slot>browseDirectoryPressed()</slot>
   575     <slot>imageButtonPressed( bool b )</slot>
   576     <slot>textcolorButtonPressed( bool b )</slot>
   577     <slot>saveSettingsInMapButtonPressed( bool b )</slot>
   578     <slot>warningsButtonPressed( bool b )</slot>
   579     <slot>outputButtonPressed( bool b )</slot>
   580     <slot>cssChanged()</slot>
   581     <slot>browseCSSPressed()</slot>
   582     <slot>xslChanged()</slot>
   583     <slot>prescriptChanged()</slot>
   584     <slot>browseXSLPressed()</slot>
   585     <slot>postscriptChanged()</slot>
   586     <slot>browsePreExportButtonPressed()</slot>
   587     <slot>browsePostExportButtonPressed()</slot>
   588     <slot>doExport( const QString &amp; mapname )</slot>
   589     <slot>setFilePath( const QString &amp; s )</slot>
   590     <slot>setMapName( const QString &amp; s )</slot>
   591 </slots>
   592 <functions>
   593     <function access="private" specifier="non virtual">init()</function>
   594     <function access="private" specifier="non virtual">destroy()</function>
   595     <function returnType="QString">getDir()</function>
   596     <function returnType="bool">warnings()</function>
   597     <function returnType="bool">hasChanged()</function>
   598     <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
   599 </functions>
   600 <pixmapinproject/>
   601 <layoutdefaults spacing="6" margin="11"/>
   602 </UI>