exportxhtmldialog.ui
author insilmaril
Tue, 04 Dec 2007 12:32:56 +0000
changeset 627 513107d1ed59
parent 557 7fc6541f0490
child 628 d7d0708b1c60
permissions -rw-r--r--
Fixed HideExport bug, changed pre- and postscript in XHTML export dialog
     1 <ui version="4.0" >
     2  <class>ExportXHTMLDialog</class>
     3  <widget class="QDialog" name="ExportXHTMLDialog" >
     4   <property name="geometry" >
     5    <rect>
     6     <x>0</x>
     7     <y>0</y>
     8     <width>588</width>
     9     <height>523</height>
    10    </rect>
    11   </property>
    12   <property name="minimumSize" >
    13    <size>
    14     <width>0</width>
    15     <height>130</height>
    16    </size>
    17   </property>
    18   <property name="windowTitle" >
    19    <string>Export XHTML</string>
    20   </property>
    21   <layout class="QVBoxLayout" >
    22    <item>
    23     <layout class="QHBoxLayout" >
    24      <property name="spacing" >
    25       <number>6</number>
    26      </property>
    27      <property name="leftMargin" >
    28       <number>0</number>
    29      </property>
    30      <property name="topMargin" >
    31       <number>0</number>
    32      </property>
    33      <property name="rightMargin" >
    34       <number>0</number>
    35      </property>
    36      <property name="bottomMargin" >
    37       <number>0</number>
    38      </property>
    39      <item>
    40       <widget class="QLabel" name="textLabel1" >
    41        <property name="sizePolicy" >
    42         <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
    43          <horstretch>0</horstretch>
    44          <verstretch>0</verstretch>
    45         </sizepolicy>
    46        </property>
    47        <property name="text" >
    48         <string>Export to directory:</string>
    49        </property>
    50       </widget>
    51      </item>
    52      <item>
    53       <widget class="QLineEdit" name="lineEditDir" >
    54        <property name="sizePolicy" >
    55         <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
    56          <horstretch>0</horstretch>
    57          <verstretch>0</verstretch>
    58         </sizepolicy>
    59        </property>
    60       </widget>
    61      </item>
    62      <item>
    63       <widget class="QPushButton" name="browseExportDirButton" >
    64        <property name="sizePolicy" >
    65         <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
    66          <horstretch>0</horstretch>
    67          <verstretch>0</verstretch>
    68         </sizepolicy>
    69        </property>
    70        <property name="text" >
    71         <string>Browse</string>
    72        </property>
    73       </widget>
    74      </item>
    75     </layout>
    76    </item>
    77    <item>
    78     <widget class="Q3ButtonGroup" name="buttonGroup2" >
    79      <property name="sizePolicy" >
    80       <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
    81        <horstretch>0</horstretch>
    82        <verstretch>0</verstretch>
    83       </sizepolicy>
    84      </property>
    85      <property name="minimumSize" >
    86       <size>
    87        <width>0</width>
    88        <height>160</height>
    89       </size>
    90      </property>
    91      <property name="title" >
    92       <string>Options</string>
    93      </property>
    94      <property name="orientation" >
    95       <enum>Qt::Vertical</enum>
    96      </property>
    97      <widget class="QCheckBox" name="outputButton" >
    98       <property name="geometry" >
    99        <rect>
   100         <x>22</x>
   101         <y>156</y>
   102         <width>521</width>
   103         <height>21</height>
   104        </rect>
   105       </property>
   106       <property name="sizePolicy" >
   107        <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
   108         <horstretch>0</horstretch>
   109         <verstretch>0</verstretch>
   110        </sizepolicy>
   111       </property>
   112       <property name="text" >
   113        <string>show output of external scripts</string>
   114       </property>
   115      </widget>
   116      <widget class="QWidget" name="layoutWidget" >
   117       <property name="geometry" >
   118        <rect>
   119         <x>20</x>
   120         <y>30</y>
   121         <width>511</width>
   122         <height>104</height>
   123        </rect>
   124       </property>
   125       <layout class="QVBoxLayout" >
   126        <property name="spacing" >
   127         <number>6</number>
   128        </property>
   129        <property name="leftMargin" >
   130         <number>0</number>
   131        </property>
   132        <property name="topMargin" >
   133         <number>0</number>
   134        </property>
   135        <property name="rightMargin" >
   136         <number>0</number>
   137        </property>
   138        <property name="bottomMargin" >
   139         <number>0</number>
   140        </property>
   141        <item>
   142         <widget class="QCheckBox" name="imageButton" >
   143          <property name="text" >
   144           <string>Include image</string>
   145          </property>
   146         </widget>
   147        </item>
   148        <item>
   149         <widget class="QCheckBox" name="textColorButton" >
   150          <property name="text" >
   151           <string>Colored headings in text</string>
   152          </property>
   153         </widget>
   154        </item>
   155        <item>
   156         <widget class="QCheckBox" name="saveSettingsInMapButton" >
   157          <property name="text" >
   158           <string>Save settings in map</string>
   159          </property>
   160         </widget>
   161        </item>
   162        <item>
   163         <widget class="QCheckBox" name="warningsButton" >
   164          <property name="text" >
   165           <string>showWarnings e.g. if directory is not empty</string>
   166          </property>
   167         </widget>
   168        </item>
   169       </layout>
   170      </widget>
   171     </widget>
   172    </item>
   173    <item>
   174     <widget class="Q3GroupBox" name="groupBox2" >
   175      <property name="title" >
   176       <string>Stylesheets</string>
   177      </property>
   178      <property name="orientation" >
   179       <enum>Qt::Vertical</enum>
   180      </property>
   181      <layout class="QGridLayout" >
   182       <property name="leftMargin" >
   183        <number>11</number>
   184       </property>
   185       <property name="topMargin" >
   186        <number>11</number>
   187       </property>
   188       <property name="rightMargin" >
   189        <number>11</number>
   190       </property>
   191       <property name="bottomMargin" >
   192        <number>11</number>
   193       </property>
   194       <property name="horizontalSpacing" >
   195        <number>6</number>
   196       </property>
   197       <property name="verticalSpacing" >
   198        <number>6</number>
   199       </property>
   200       <item row="1" column="0" >
   201        <layout class="QHBoxLayout" >
   202         <property name="spacing" >
   203          <number>6</number>
   204         </property>
   205         <property name="leftMargin" >
   206          <number>0</number>
   207         </property>
   208         <property name="topMargin" >
   209          <number>0</number>
   210         </property>
   211         <property name="rightMargin" >
   212          <number>0</number>
   213         </property>
   214         <property name="bottomMargin" >
   215          <number>0</number>
   216         </property>
   217         <item>
   218          <widget class="QLabel" name="textLabel2" >
   219           <property name="sizePolicy" >
   220            <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
   221             <horstretch>0</horstretch>
   222             <verstretch>0</verstretch>
   223            </sizepolicy>
   224           </property>
   225           <property name="minimumSize" >
   226            <size>
   227             <width>125</width>
   228             <height>0</height>
   229            </size>
   230           </property>
   231           <property name="text" >
   232            <string>XSL:</string>
   233           </property>
   234           <property name="alignment" >
   235            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   236           </property>
   237          </widget>
   238         </item>
   239         <item>
   240          <widget class="QLineEdit" name="lineEditXSL" />
   241         </item>
   242         <item>
   243          <widget class="QPushButton" name="browseXSLButton" >
   244           <property name="sizePolicy" >
   245            <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
   246             <horstretch>0</horstretch>
   247             <verstretch>0</verstretch>
   248            </sizepolicy>
   249           </property>
   250           <property name="text" >
   251            <string>Browse</string>
   252           </property>
   253          </widget>
   254         </item>
   255        </layout>
   256       </item>
   257       <item row="0" column="0" >
   258        <layout class="QHBoxLayout" >
   259         <property name="spacing" >
   260          <number>6</number>
   261         </property>
   262         <property name="leftMargin" >
   263          <number>0</number>
   264         </property>
   265         <property name="topMargin" >
   266          <number>0</number>
   267         </property>
   268         <property name="rightMargin" >
   269          <number>0</number>
   270         </property>
   271         <property name="bottomMargin" >
   272          <number>0</number>
   273         </property>
   274         <item>
   275          <widget class="QLabel" name="textLabel1_2" >
   276           <property name="sizePolicy" >
   277            <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
   278             <horstretch>0</horstretch>
   279             <verstretch>0</verstretch>
   280            </sizepolicy>
   281           </property>
   282           <property name="minimumSize" >
   283            <size>
   284             <width>125</width>
   285             <height>0</height>
   286            </size>
   287           </property>
   288           <property name="text" >
   289            <string>CSS:</string>
   290           </property>
   291           <property name="alignment" >
   292            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   293           </property>
   294          </widget>
   295         </item>
   296         <item>
   297          <widget class="QLineEdit" name="lineEditCSS" />
   298         </item>
   299         <item>
   300          <widget class="QPushButton" name="browseCSSButton" >
   301           <property name="sizePolicy" >
   302            <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
   303             <horstretch>0</horstretch>
   304             <verstretch>0</verstretch>
   305            </sizepolicy>
   306           </property>
   307           <property name="text" >
   308            <string>Browse</string>
   309           </property>
   310          </widget>
   311         </item>
   312        </layout>
   313       </item>
   314      </layout>
   315     </widget>
   316    </item>
   317    <item>
   318     <widget class="Q3GroupBox" name="groupBox1" >
   319      <property name="title" >
   320       <string>Scripts</string>
   321      </property>
   322      <property name="orientation" >
   323       <enum>Qt::Vertical</enum>
   324      </property>
   325      <layout class="QGridLayout" >
   326       <property name="leftMargin" >
   327        <number>11</number>
   328       </property>
   329       <property name="topMargin" >
   330        <number>11</number>
   331       </property>
   332       <property name="rightMargin" >
   333        <number>11</number>
   334       </property>
   335       <property name="bottomMargin" >
   336        <number>11</number>
   337       </property>
   338       <property name="horizontalSpacing" >
   339        <number>6</number>
   340       </property>
   341       <property name="verticalSpacing" >
   342        <number>6</number>
   343       </property>
   344       <item row="0" column="0" >
   345        <layout class="QHBoxLayout" >
   346         <property name="spacing" >
   347          <number>6</number>
   348         </property>
   349         <property name="leftMargin" >
   350          <number>0</number>
   351         </property>
   352         <property name="topMargin" >
   353          <number>0</number>
   354         </property>
   355         <property name="rightMargin" >
   356          <number>0</number>
   357         </property>
   358         <property name="bottomMargin" >
   359          <number>0</number>
   360         </property>
   361         <item>
   362          <widget class="QLabel" name="textLabel1_3" >
   363           <property name="sizePolicy" >
   364            <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
   365             <horstretch>0</horstretch>
   366             <verstretch>0</verstretch>
   367            </sizepolicy>
   368           </property>
   369           <property name="minimumSize" >
   370            <size>
   371             <width>125</width>
   372             <height>0</height>
   373            </size>
   374           </property>
   375           <property name="text" >
   376            <string>Before export:</string>
   377           </property>
   378           <property name="alignment" >
   379            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   380           </property>
   381          </widget>
   382         </item>
   383         <item>
   384          <widget class="QLineEdit" name="lineEditPostScript" />
   385         </item>
   386         <item>
   387          <widget class="QPushButton" name="browsePreExportButton" >
   388           <property name="sizePolicy" >
   389            <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
   390             <horstretch>0</horstretch>
   391             <verstretch>0</verstretch>
   392            </sizepolicy>
   393           </property>
   394           <property name="text" >
   395            <string>Browse</string>
   396           </property>
   397          </widget>
   398         </item>
   399        </layout>
   400       </item>
   401       <item row="1" column="0" >
   402        <layout class="QHBoxLayout" >
   403         <property name="spacing" >
   404          <number>6</number>
   405         </property>
   406         <property name="leftMargin" >
   407          <number>0</number>
   408         </property>
   409         <property name="topMargin" >
   410          <number>0</number>
   411         </property>
   412         <property name="rightMargin" >
   413          <number>0</number>
   414         </property>
   415         <property name="bottomMargin" >
   416          <number>0</number>
   417         </property>
   418         <item>
   419          <widget class="QLabel" name="textLabel2_2" >
   420           <property name="sizePolicy" >
   421            <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
   422             <horstretch>0</horstretch>
   423             <verstretch>0</verstretch>
   424            </sizepolicy>
   425           </property>
   426           <property name="minimumSize" >
   427            <size>
   428             <width>125</width>
   429             <height>0</height>
   430            </size>
   431           </property>
   432           <property name="frameShape" >
   433            <enum>QFrame::NoFrame</enum>
   434           </property>
   435           <property name="text" >
   436            <string>After Export:</string>
   437           </property>
   438           <property name="alignment" >
   439            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   440           </property>
   441          </widget>
   442         </item>
   443         <item>
   444          <widget class="QLineEdit" name="lineEditPreScript" />
   445         </item>
   446         <item>
   447          <widget class="QPushButton" name="browsePostExportButton" >
   448           <property name="sizePolicy" >
   449            <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
   450             <horstretch>0</horstretch>
   451             <verstretch>0</verstretch>
   452            </sizepolicy>
   453           </property>
   454           <property name="text" >
   455            <string>Browse</string>
   456           </property>
   457          </widget>
   458         </item>
   459        </layout>
   460       </item>
   461      </layout>
   462     </widget>
   463    </item>
   464    <item>
   465     <spacer>
   466      <property name="orientation" >
   467       <enum>Qt::Vertical</enum>
   468      </property>
   469      <property name="sizeType" >
   470       <enum>QSizePolicy::MinimumExpanding</enum>
   471      </property>
   472      <property name="sizeHint" >
   473       <size>
   474        <width>20</width>
   475        <height>41</height>
   476       </size>
   477      </property>
   478     </spacer>
   479    </item>
   480    <item>
   481     <layout class="QHBoxLayout" >
   482      <item>
   483       <spacer>
   484        <property name="orientation" >
   485         <enum>Qt::Horizontal</enum>
   486        </property>
   487        <property name="sizeType" >
   488         <enum>QSizePolicy::Expanding</enum>
   489        </property>
   490        <property name="sizeHint" >
   491         <size>
   492          <width>61</width>
   493          <height>21</height>
   494         </size>
   495        </property>
   496       </spacer>
   497      </item>
   498      <item>
   499       <widget class="QPushButton" name="cancelButton" >
   500        <property name="text" >
   501         <string>Cancel</string>
   502        </property>
   503       </widget>
   504      </item>
   505      <item>
   506       <widget class="QPushButton" name="exportButton" >
   507        <property name="text" >
   508         <string>Export</string>
   509        </property>
   510        <property name="default" >
   511         <bool>true</bool>
   512        </property>
   513       </widget>
   514      </item>
   515     </layout>
   516    </item>
   517   </layout>
   518  </widget>
   519  <layoutdefault spacing="6" margin="11" />
   520  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
   521  <customwidgets>
   522   <customwidget>
   523    <class>Q3GroupBox</class>
   524    <extends>QGroupBox</extends>
   525    <header>Qt3Support/Q3GroupBox</header>
   526    <container>1</container>
   527   </customwidget>
   528   <customwidget>
   529    <class>Q3ButtonGroup</class>
   530    <extends>Q3GroupBox</extends>
   531    <header>Qt3Support/Q3ButtonGroup</header>
   532    <container>1</container>
   533   </customwidget>
   534  </customwidgets>
   535  <includes>
   536   <include location="local" >xsltproc.h</include>
   537   <include location="local" >process.h</include>
   538  </includes>
   539  <resources/>
   540  <connections>
   541   <connection>
   542    <sender>cancelButton</sender>
   543    <signal>clicked()</signal>
   544    <receiver>ExportXHTMLDialog</receiver>
   545    <slot>reject()</slot>
   546    <hints>
   547     <hint type="sourcelabel" >
   548      <x>459</x>
   549      <y>443</y>
   550     </hint>
   551     <hint type="destinationlabel" >
   552      <x>256</x>
   553      <y>233</y>
   554     </hint>
   555    </hints>
   556   </connection>
   557   <connection>
   558    <sender>exportButton</sender>
   559    <signal>clicked()</signal>
   560    <receiver>ExportXHTMLDialog</receiver>
   561    <slot>accept()</slot>
   562    <hints>
   563     <hint type="sourcelabel" >
   564      <x>368</x>
   565      <y>443</y>
   566     </hint>
   567     <hint type="destinationlabel" >
   568      <x>256</x>
   569      <y>233</y>
   570     </hint>
   571    </hints>
   572   </connection>
   573  </connections>
   574 </ui>