exportxhtmldialog.ui
author insilmaril
Sat, 23 Jul 2005 10:26:29 +0000
changeset 132 fd7f08a85971
parent 129 9b9c7e8b9147
child 194 de97201180ea
permissions -rw-r--r--
updated api.*
     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>514</width>
    12             <height>468</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     <grid>
    25         <property name="name">
    26             <cstring>unnamed</cstring>
    27         </property>
    28         <widget class="QLayoutWidget" row="0" column="0">
    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="QLayoutWidget" row="5" column="0">
    84             <property name="name">
    85                 <cstring>layout17</cstring>
    86             </property>
    87             <hbox>
    88                 <property name="name">
    89                     <cstring>unnamed</cstring>
    90                 </property>
    91                 <spacer>
    92                     <property name="name">
    93                         <cstring>spacer5</cstring>
    94                     </property>
    95                     <property name="orientation">
    96                         <enum>Horizontal</enum>
    97                     </property>
    98                     <property name="sizeType">
    99                         <enum>Expanding</enum>
   100                     </property>
   101                     <property name="sizeHint">
   102                         <size>
   103                             <width>61</width>
   104                             <height>21</height>
   105                         </size>
   106                     </property>
   107                 </spacer>
   108                 <widget class="QPushButton">
   109                     <property name="name">
   110                         <cstring>exportButton</cstring>
   111                     </property>
   112                     <property name="text">
   113                         <string>Export</string>
   114                     </property>
   115                     <property name="default">
   116                         <bool>true</bool>
   117                     </property>
   118                 </widget>
   119                 <widget class="QPushButton">
   120                     <property name="name">
   121                         <cstring>cancelButton</cstring>
   122                     </property>
   123                     <property name="text">
   124                         <string>Cancel</string>
   125                     </property>
   126                 </widget>
   127             </hbox>
   128         </widget>
   129         <widget class="QButtonGroup" row="1" column="0">
   130             <property name="name">
   131                 <cstring>buttonGroup2</cstring>
   132             </property>
   133             <property name="sizePolicy">
   134                 <sizepolicy>
   135                     <hsizetype>5</hsizetype>
   136                     <vsizetype>5</vsizetype>
   137                     <horstretch>0</horstretch>
   138                     <verstretch>0</verstretch>
   139                 </sizepolicy>
   140             </property>
   141             <property name="minimumSize">
   142                 <size>
   143                     <width>0</width>
   144                     <height>160</height>
   145                 </size>
   146             </property>
   147             <property name="title">
   148                 <string>Options</string>
   149             </property>
   150             <vbox>
   151                 <property name="name">
   152                     <cstring>unnamed</cstring>
   153                 </property>
   154                 <widget class="QCheckBox">
   155                     <property name="name">
   156                         <cstring>imageButton</cstring>
   157                     </property>
   158                     <property name="text">
   159                         <string>Include image</string>
   160                     </property>
   161                 </widget>
   162                 <widget class="QCheckBox">
   163                     <property name="name">
   164                         <cstring>textColorButton</cstring>
   165                     </property>
   166                     <property name="text">
   167                         <string>Colored headings in text</string>
   168                     </property>
   169                 </widget>
   170                 <widget class="QCheckBox">
   171                     <property name="name">
   172                         <cstring>saveSettingsInMapButton</cstring>
   173                     </property>
   174                     <property name="text">
   175                         <string>Save settings in map</string>
   176                     </property>
   177                 </widget>
   178                 <widget class="QCheckBox">
   179                     <property name="name">
   180                         <cstring>warningsButton</cstring>
   181                     </property>
   182                     <property name="text">
   183                         <string>showWarnings e.g. if directory is not empty</string>
   184                     </property>
   185                 </widget>
   186                 <widget class="QCheckBox">
   187                     <property name="name">
   188                         <cstring>outputButton</cstring>
   189                     </property>
   190                     <property name="sizePolicy">
   191                         <sizepolicy>
   192                             <hsizetype>1</hsizetype>
   193                             <vsizetype>0</vsizetype>
   194                             <horstretch>0</horstretch>
   195                             <verstretch>0</verstretch>
   196                         </sizepolicy>
   197                     </property>
   198                     <property name="text">
   199                         <string>show output of external scripts</string>
   200                     </property>
   201                 </widget>
   202             </vbox>
   203         </widget>
   204         <widget class="QGroupBox" row="2" column="0">
   205             <property name="name">
   206                 <cstring>groupBox2</cstring>
   207             </property>
   208             <property name="title">
   209                 <string>Stylesheets</string>
   210             </property>
   211             <grid>
   212                 <property name="name">
   213                     <cstring>unnamed</cstring>
   214                 </property>
   215                 <widget class="QLayoutWidget" row="1" column="0">
   216                     <property name="name">
   217                         <cstring>layout7</cstring>
   218                     </property>
   219                     <hbox>
   220                         <property name="name">
   221                             <cstring>unnamed</cstring>
   222                         </property>
   223                         <widget class="QLabel">
   224                             <property name="name">
   225                                 <cstring>textLabel2</cstring>
   226                             </property>
   227                             <property name="sizePolicy">
   228                                 <sizepolicy>
   229                                     <hsizetype>0</hsizetype>
   230                                     <vsizetype>5</vsizetype>
   231                                     <horstretch>0</horstretch>
   232                                     <verstretch>0</verstretch>
   233                                 </sizepolicy>
   234                             </property>
   235                             <property name="minimumSize">
   236                                 <size>
   237                                     <width>125</width>
   238                                     <height>0</height>
   239                                 </size>
   240                             </property>
   241                             <property name="text">
   242                                 <string>XSL:</string>
   243                             </property>
   244                             <property name="alignment">
   245                                 <set>AlignVCenter|AlignRight</set>
   246                             </property>
   247                         </widget>
   248                         <widget class="QLineEdit">
   249                             <property name="name">
   250                                 <cstring>lineEditXSL</cstring>
   251                             </property>
   252                         </widget>
   253                         <widget class="QPushButton">
   254                             <property name="name">
   255                                 <cstring>browseXSLButton</cstring>
   256                             </property>
   257                             <property name="sizePolicy">
   258                                 <sizepolicy>
   259                                     <hsizetype>0</hsizetype>
   260                                     <vsizetype>0</vsizetype>
   261                                     <horstretch>0</horstretch>
   262                                     <verstretch>0</verstretch>
   263                                 </sizepolicy>
   264                             </property>
   265                             <property name="text">
   266                                 <string>Browse</string>
   267                             </property>
   268                         </widget>
   269                     </hbox>
   270                 </widget>
   271                 <widget class="QLayoutWidget" row="0" column="0">
   272                     <property name="name">
   273                         <cstring>layout6</cstring>
   274                     </property>
   275                     <hbox>
   276                         <property name="name">
   277                             <cstring>unnamed</cstring>
   278                         </property>
   279                         <widget class="QLabel">
   280                             <property name="name">
   281                                 <cstring>textLabel1_2</cstring>
   282                             </property>
   283                             <property name="sizePolicy">
   284                                 <sizepolicy>
   285                                     <hsizetype>0</hsizetype>
   286                                     <vsizetype>5</vsizetype>
   287                                     <horstretch>0</horstretch>
   288                                     <verstretch>0</verstretch>
   289                                 </sizepolicy>
   290                             </property>
   291                             <property name="minimumSize">
   292                                 <size>
   293                                     <width>125</width>
   294                                     <height>0</height>
   295                                 </size>
   296                             </property>
   297                             <property name="text">
   298                                 <string>CSS:</string>
   299                             </property>
   300                             <property name="alignment">
   301                                 <set>AlignVCenter|AlignRight</set>
   302                             </property>
   303                         </widget>
   304                         <widget class="QLineEdit">
   305                             <property name="name">
   306                                 <cstring>lineEditCSS</cstring>
   307                             </property>
   308                         </widget>
   309                         <widget class="QPushButton">
   310                             <property name="name">
   311                                 <cstring>browseCSSButton</cstring>
   312                             </property>
   313                             <property name="sizePolicy">
   314                                 <sizepolicy>
   315                                     <hsizetype>0</hsizetype>
   316                                     <vsizetype>0</vsizetype>
   317                                     <horstretch>0</horstretch>
   318                                     <verstretch>0</verstretch>
   319                                 </sizepolicy>
   320                             </property>
   321                             <property name="text">
   322                                 <string>Browse</string>
   323                             </property>
   324                         </widget>
   325                     </hbox>
   326                 </widget>
   327             </grid>
   328         </widget>
   329         <widget class="QGroupBox" row="3" column="0">
   330             <property name="name">
   331                 <cstring>groupBox1</cstring>
   332             </property>
   333             <property name="title">
   334                 <string>Scripts</string>
   335             </property>
   336             <grid>
   337                 <property name="name">
   338                     <cstring>unnamed</cstring>
   339                 </property>
   340                 <widget class="QLayoutWidget" row="0" column="0">
   341                     <property name="name">
   342                         <cstring>layout4</cstring>
   343                     </property>
   344                     <hbox>
   345                         <property name="name">
   346                             <cstring>unnamed</cstring>
   347                         </property>
   348                         <widget class="QLabel">
   349                             <property name="name">
   350                                 <cstring>textLabel1_3</cstring>
   351                             </property>
   352                             <property name="sizePolicy">
   353                                 <sizepolicy>
   354                                     <hsizetype>0</hsizetype>
   355                                     <vsizetype>5</vsizetype>
   356                                     <horstretch>0</horstretch>
   357                                     <verstretch>0</verstretch>
   358                                 </sizepolicy>
   359                             </property>
   360                             <property name="minimumSize">
   361                                 <size>
   362                                     <width>125</width>
   363                                     <height>0</height>
   364                                 </size>
   365                             </property>
   366                             <property name="text">
   367                                 <string>Before export:</string>
   368                             </property>
   369                             <property name="alignment">
   370                                 <set>AlignVCenter|AlignRight</set>
   371                             </property>
   372                         </widget>
   373                         <widget class="QLineEdit">
   374                             <property name="name">
   375                                 <cstring>lineEditPostScript</cstring>
   376                             </property>
   377                         </widget>
   378                         <widget class="QPushButton">
   379                             <property name="name">
   380                                 <cstring>browsePreExportButton</cstring>
   381                             </property>
   382                             <property name="sizePolicy">
   383                                 <sizepolicy>
   384                                     <hsizetype>0</hsizetype>
   385                                     <vsizetype>0</vsizetype>
   386                                     <horstretch>0</horstretch>
   387                                     <verstretch>0</verstretch>
   388                                 </sizepolicy>
   389                             </property>
   390                             <property name="text">
   391                                 <string>Browse</string>
   392                             </property>
   393                         </widget>
   394                     </hbox>
   395                 </widget>
   396                 <widget class="QLayoutWidget" row="1" column="0">
   397                     <property name="name">
   398                         <cstring>layout5</cstring>
   399                     </property>
   400                     <hbox>
   401                         <property name="name">
   402                             <cstring>unnamed</cstring>
   403                         </property>
   404                         <widget class="QLabel">
   405                             <property name="name">
   406                                 <cstring>textLabel2_2</cstring>
   407                             </property>
   408                             <property name="sizePolicy">
   409                                 <sizepolicy>
   410                                     <hsizetype>0</hsizetype>
   411                                     <vsizetype>5</vsizetype>
   412                                     <horstretch>0</horstretch>
   413                                     <verstretch>0</verstretch>
   414                                 </sizepolicy>
   415                             </property>
   416                             <property name="minimumSize">
   417                                 <size>
   418                                     <width>125</width>
   419                                     <height>0</height>
   420                                 </size>
   421                             </property>
   422                             <property name="frameShape">
   423                                 <enum>NoFrame</enum>
   424                             </property>
   425                             <property name="text">
   426                                 <string>After Export:</string>
   427                             </property>
   428                             <property name="alignment">
   429                                 <set>AlignVCenter|AlignRight</set>
   430                             </property>
   431                         </widget>
   432                         <widget class="QLineEdit">
   433                             <property name="name">
   434                                 <cstring>lineEditPreScript</cstring>
   435                             </property>
   436                         </widget>
   437                         <widget class="QPushButton">
   438                             <property name="name">
   439                                 <cstring>browsePostExportButton</cstring>
   440                             </property>
   441                             <property name="sizePolicy">
   442                                 <sizepolicy>
   443                                     <hsizetype>0</hsizetype>
   444                                     <vsizetype>0</vsizetype>
   445                                     <horstretch>0</horstretch>
   446                                     <verstretch>0</verstretch>
   447                                 </sizepolicy>
   448                             </property>
   449                             <property name="text">
   450                                 <string>Browse</string>
   451                             </property>
   452                         </widget>
   453                     </hbox>
   454                 </widget>
   455             </grid>
   456         </widget>
   457         <spacer row="4" column="0">
   458             <property name="name">
   459                 <cstring>spacer3</cstring>
   460             </property>
   461             <property name="orientation">
   462                 <enum>Vertical</enum>
   463             </property>
   464             <property name="sizeType">
   465                 <enum>MinimumExpanding</enum>
   466             </property>
   467             <property name="sizeHint">
   468                 <size>
   469                     <width>20</width>
   470                     <height>20</height>
   471                 </size>
   472             </property>
   473         </spacer>
   474     </grid>
   475 </widget>
   476 <connections>
   477     <connection>
   478         <sender>outputButton</sender>
   479         <signal>toggled(bool)</signal>
   480         <receiver>ExportXHTMLDialog</receiver>
   481         <slot>outputButtonPressed(bool)</slot>
   482     </connection>
   483     <connection>
   484         <sender>exportButton</sender>
   485         <signal>pressed()</signal>
   486         <receiver>ExportXHTMLDialog</receiver>
   487         <slot>accept()</slot>
   488     </connection>
   489     <connection>
   490         <sender>cancelButton</sender>
   491         <signal>pressed()</signal>
   492         <receiver>ExportXHTMLDialog</receiver>
   493         <slot>close()</slot>
   494     </connection>
   495     <connection>
   496         <sender>browseExportDirButton</sender>
   497         <signal>pressed()</signal>
   498         <receiver>ExportXHTMLDialog</receiver>
   499         <slot>browseDirectoryPressed()</slot>
   500     </connection>
   501     <connection>
   502         <sender>browseXSLButton</sender>
   503         <signal>pressed()</signal>
   504         <receiver>ExportXHTMLDialog</receiver>
   505         <slot>browseXSLPressed()</slot>
   506     </connection>
   507     <connection>
   508         <sender>browseCSSButton</sender>
   509         <signal>pressed()</signal>
   510         <receiver>ExportXHTMLDialog</receiver>
   511         <slot>browseCSSPressed()</slot>
   512     </connection>
   513     <connection>
   514         <sender>imageButton</sender>
   515         <signal>toggled(bool)</signal>
   516         <receiver>ExportXHTMLDialog</receiver>
   517         <slot>imageButtonPressed(bool)</slot>
   518     </connection>
   519     <connection>
   520         <sender>textColorButton</sender>
   521         <signal>toggled(bool)</signal>
   522         <receiver>ExportXHTMLDialog</receiver>
   523         <slot>textcolorButtonPressed(bool)</slot>
   524     </connection>
   525     <connection>
   526         <sender>lineEditDir</sender>
   527         <signal>textChanged(const QString&amp;)</signal>
   528         <receiver>ExportXHTMLDialog</receiver>
   529         <slot>dirChanged()</slot>
   530     </connection>
   531     <connection>
   532         <sender>lineEditCSS</sender>
   533         <signal>textChanged(const QString&amp;)</signal>
   534         <receiver>ExportXHTMLDialog</receiver>
   535         <slot>cssChanged()</slot>
   536     </connection>
   537     <connection>
   538         <sender>lineEditXSL</sender>
   539         <signal>textChanged(const QString&amp;)</signal>
   540         <receiver>ExportXHTMLDialog</receiver>
   541         <slot>xslChanged()</slot>
   542     </connection>
   543     <connection>
   544         <sender>warningsButton</sender>
   545         <signal>toggled(bool)</signal>
   546         <receiver>ExportXHTMLDialog</receiver>
   547         <slot>warningsButtonPressed(bool)</slot>
   548     </connection>
   549     <connection>
   550         <sender>saveSettingsInMapButton</sender>
   551         <signal>toggled(bool)</signal>
   552         <receiver>ExportXHTMLDialog</receiver>
   553         <slot>saveSettingsInMapButtonPressed(bool)</slot>
   554     </connection>
   555     <connection>
   556         <sender>browsePreExportButton</sender>
   557         <signal>pressed()</signal>
   558         <receiver>ExportXHTMLDialog</receiver>
   559         <slot>browsePreExportButtonPressed()</slot>
   560     </connection>
   561     <connection>
   562         <sender>lineEditPreScript</sender>
   563         <signal>textChanged(const QString&amp;)</signal>
   564         <receiver>ExportXHTMLDialog</receiver>
   565         <slot>prescriptChanged()</slot>
   566     </connection>
   567     <connection>
   568         <sender>lineEditPostScript</sender>
   569         <signal>textChanged(const QString&amp;)</signal>
   570         <receiver>ExportXHTMLDialog</receiver>
   571         <slot>postscriptChanged()</slot>
   572     </connection>
   573     <connection>
   574         <sender>browsePostExportButton</sender>
   575         <signal>pressed()</signal>
   576         <receiver>ExportXHTMLDialog</receiver>
   577         <slot>browsePostExportButtonPressed()</slot>
   578     </connection>
   579 </connections>
   580 <includes>
   581     <include location="local" impldecl="in declaration">process.h</include>
   582     <include location="local" impldecl="in declaration">showtextdialog.h</include>
   583     <include location="global" impldecl="in implementation">qfiledialog.h</include>
   584     <include location="global" impldecl="in implementation">qmessagebox.h</include>
   585     <include location="local" impldecl="in implementation">settings.h</include>
   586     <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
   587     <include location="local" impldecl="in implementation">exportxhtmldialog.ui.h</include>
   588 </includes>
   589 <variables>
   590     <variable>bool useTextColor;</variable>
   591     <variable>bool showWarnings;</variable>
   592     <variable>QString xsl;</variable>
   593     <variable>QString css;</variable>
   594     <variable>bool useImage;</variable>
   595     <variable>bool showOutput;</variable>
   596     <variable>Process *xsltProc;</variable>
   597     <variable>ShowTextDialog *dia;</variable>
   598     <variable>QString dir;</variable>
   599     <variable>QString xsltprocessor;</variable>
   600     <variable>QString filepath;</variable>
   601     <variable>QString prescript;</variable>
   602     <variable>QString postscript;</variable>
   603     <variable>bool settingsChanged;</variable>
   604     <variable>QString mapname;</variable>
   605     <variable>bool saveSettingsInMap;</variable>
   606 </variables>
   607 <slots>
   608     <slot>readSettings()</slot>
   609     <slot>dirChanged()</slot>
   610     <slot>browseDirectoryPressed()</slot>
   611     <slot>imageButtonPressed( bool b )</slot>
   612     <slot>textcolorButtonPressed( bool b )</slot>
   613     <slot>saveSettingsInMapButtonPressed( bool b )</slot>
   614     <slot>warningsButtonPressed( bool b )</slot>
   615     <slot>outputButtonPressed( bool b )</slot>
   616     <slot>cssChanged()</slot>
   617     <slot>browseCSSPressed()</slot>
   618     <slot>xslChanged()</slot>
   619     <slot>prescriptChanged()</slot>
   620     <slot>browseXSLPressed()</slot>
   621     <slot>postscriptChanged()</slot>
   622     <slot>browsePreExportButtonPressed()</slot>
   623     <slot>browsePostExportButtonPressed()</slot>
   624     <slot>doExport( const QString &amp; mapname )</slot>
   625     <slot>setFilePath( const QString &amp; s )</slot>
   626     <slot>setMapName( const QString &amp; s )</slot>
   627 </slots>
   628 <functions>
   629     <function access="private" specifier="non virtual">init()</function>
   630     <function access="private" specifier="non virtual">destroy()</function>
   631     <function returnType="QString">getDir()</function>
   632     <function returnType="bool">warnings()</function>
   633     <function returnType="bool">hasChanged()</function>
   634     <function access="private" specifier="non virtual">runScript( QString spath, QString fpath )</function>
   635 </functions>
   636 <pixmapinproject/>
   637 <layoutdefaults spacing="6" margin="11"/>
   638 </UI>