exporthtmldialog.ui
author insilmaril
Thu, 25 Feb 2010 11:03:52 +0000
changeset 824 36eb4b8f409e
parent 170 e696dd4a100f
child 825 1ad892c1a709
permissions -rw-r--r--
Added dialog for HTML export. Grouping in Switchboard shortcuts
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <ui version="4.0">
     3  <class>ExportHTMLDialog</class>
     4  <widget class="QDialog" name="ExportHTMLDialog">
     5   <property name="geometry">
     6    <rect>
     7     <x>0</x>
     8     <y>0</y>
     9     <width>684</width>
    10     <height>471</height>
    11    </rect>
    12   </property>
    13   <property name="sizePolicy">
    14    <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
    15     <horstretch>0</horstretch>
    16     <verstretch>0</verstretch>
    17    </sizepolicy>
    18   </property>
    19   <property name="minimumSize">
    20    <size>
    21     <width>0</width>
    22     <height>130</height>
    23    </size>
    24   </property>
    25   <property name="windowTitle">
    26    <string>Export HTML</string>
    27   </property>
    28   <layout class="QVBoxLayout" name="verticalLayout_2">
    29    <item>
    30     <layout class="QHBoxLayout">
    31      <property name="spacing">
    32       <number>6</number>
    33      </property>
    34      <property name="margin">
    35       <number>0</number>
    36      </property>
    37      <item>
    38       <widget class="QLabel" name="textLabel1">
    39        <property name="sizePolicy">
    40         <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
    41          <horstretch>0</horstretch>
    42          <verstretch>0</verstretch>
    43         </sizepolicy>
    44        </property>
    45        <property name="text">
    46         <string>Export to directory:</string>
    47        </property>
    48       </widget>
    49      </item>
    50      <item>
    51       <widget class="QLineEdit" name="lineEditDir">
    52        <property name="sizePolicy">
    53         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
    54          <horstretch>0</horstretch>
    55          <verstretch>0</verstretch>
    56         </sizepolicy>
    57        </property>
    58       </widget>
    59      </item>
    60      <item>
    61       <widget class="QPushButton" name="browseExportDirButton">
    62        <property name="sizePolicy">
    63         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
    64          <horstretch>0</horstretch>
    65          <verstretch>0</verstretch>
    66         </sizepolicy>
    67        </property>
    68        <property name="text">
    69         <string>Browse</string>
    70        </property>
    71       </widget>
    72      </item>
    73     </layout>
    74    </item>
    75    <item>
    76     <widget class="QGroupBox" name="groupBox">
    77      <property name="sizePolicy">
    78       <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
    79        <horstretch>0</horstretch>
    80        <verstretch>0</verstretch>
    81       </sizepolicy>
    82      </property>
    83      <property name="minimumSize">
    84       <size>
    85        <width>0</width>
    86        <height>200</height>
    87       </size>
    88      </property>
    89      <property name="title">
    90       <string>Options</string>
    91      </property>
    92      <widget class="QWidget" name="">
    93       <property name="geometry">
    94        <rect>
    95         <x>20</x>
    96         <y>20</y>
    97         <width>220</width>
    98         <height>106</height>
    99        </rect>
   100       </property>
   101       <layout class="QVBoxLayout" name="verticalLayout">
   102        <item>
   103         <widget class="QCheckBox" name="imageButton">
   104          <property name="sizePolicy">
   105           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
   106            <horstretch>0</horstretch>
   107            <verstretch>0</verstretch>
   108           </sizepolicy>
   109          </property>
   110          <property name="text">
   111           <string>Include image</string>
   112          </property>
   113         </widget>
   114        </item>
   115        <item>
   116         <widget class="QCheckBox" name="textColorButton">
   117          <property name="sizePolicy">
   118           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
   119            <horstretch>0</horstretch>
   120            <verstretch>0</verstretch>
   121           </sizepolicy>
   122          </property>
   123          <property name="text">
   124           <string>Colored headings in text</string>
   125          </property>
   126         </widget>
   127        </item>
   128        <item>
   129         <widget class="QCheckBox" name="saveSettingsInMapButton">
   130          <property name="sizePolicy">
   131           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
   132            <horstretch>0</horstretch>
   133            <verstretch>0</verstretch>
   134           </sizepolicy>
   135          </property>
   136          <property name="text">
   137           <string>Save settings in map</string>
   138          </property>
   139         </widget>
   140        </item>
   141        <item>
   142         <widget class="QCheckBox" name="outputButton">
   143          <property name="sizePolicy">
   144           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
   145            <horstretch>0</horstretch>
   146            <verstretch>0</verstretch>
   147           </sizepolicy>
   148          </property>
   149          <property name="text">
   150           <string>show output of external scripts</string>
   151          </property>
   152         </widget>
   153        </item>
   154       </layout>
   155      </widget>
   156     </widget>
   157    </item>
   158    <item>
   159     <widget class="Q3GroupBox" name="groupBox2">
   160      <property name="sizePolicy">
   161       <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
   162        <horstretch>0</horstretch>
   163        <verstretch>0</verstretch>
   164       </sizepolicy>
   165      </property>
   166      <property name="title">
   167       <string>Stylesheets</string>
   168      </property>
   169      <property name="orientation">
   170       <enum>Qt::Vertical</enum>
   171      </property>
   172      <layout class="QGridLayout">
   173       <property name="margin">
   174        <number>11</number>
   175       </property>
   176       <property name="spacing">
   177        <number>6</number>
   178       </property>
   179       <item row="0" column="0">
   180        <layout class="QHBoxLayout">
   181         <property name="spacing">
   182          <number>6</number>
   183         </property>
   184         <property name="margin">
   185          <number>0</number>
   186         </property>
   187         <item>
   188          <widget class="QLabel" name="textLabel1_2">
   189           <property name="sizePolicy">
   190            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
   191             <horstretch>0</horstretch>
   192             <verstretch>0</verstretch>
   193            </sizepolicy>
   194           </property>
   195           <property name="minimumSize">
   196            <size>
   197             <width>125</width>
   198             <height>0</height>
   199            </size>
   200           </property>
   201           <property name="text">
   202            <string>CSS:</string>
   203           </property>
   204           <property name="alignment">
   205            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   206           </property>
   207          </widget>
   208         </item>
   209         <item>
   210          <widget class="QLineEdit" name="lineEditCSS"/>
   211         </item>
   212         <item>
   213          <widget class="QPushButton" name="browseCSSButton">
   214           <property name="sizePolicy">
   215            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
   216             <horstretch>0</horstretch>
   217             <verstretch>0</verstretch>
   218            </sizepolicy>
   219           </property>
   220           <property name="text">
   221            <string>Browse</string>
   222           </property>
   223          </widget>
   224         </item>
   225        </layout>
   226       </item>
   227      </layout>
   228     </widget>
   229    </item>
   230    <item>
   231     <widget class="Q3GroupBox" name="groupBox1">
   232      <property name="sizePolicy">
   233       <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
   234        <horstretch>0</horstretch>
   235        <verstretch>0</verstretch>
   236       </sizepolicy>
   237      </property>
   238      <property name="title">
   239       <string>Scripts</string>
   240      </property>
   241      <property name="orientation">
   242       <enum>Qt::Vertical</enum>
   243      </property>
   244      <layout class="QGridLayout">
   245       <property name="margin">
   246        <number>11</number>
   247       </property>
   248       <property name="spacing">
   249        <number>6</number>
   250       </property>
   251       <item row="0" column="0">
   252        <layout class="QHBoxLayout">
   253         <property name="spacing">
   254          <number>6</number>
   255         </property>
   256         <property name="margin">
   257          <number>0</number>
   258         </property>
   259         <item>
   260          <widget class="QLabel" name="textLabel1_3">
   261           <property name="sizePolicy">
   262            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
   263             <horstretch>0</horstretch>
   264             <verstretch>0</verstretch>
   265            </sizepolicy>
   266           </property>
   267           <property name="minimumSize">
   268            <size>
   269             <width>125</width>
   270             <height>0</height>
   271            </size>
   272           </property>
   273           <property name="text">
   274            <string>Before export:</string>
   275           </property>
   276           <property name="alignment">
   277            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   278           </property>
   279          </widget>
   280         </item>
   281         <item>
   282          <widget class="QLineEdit" name="lineEditPreScript"/>
   283         </item>
   284         <item>
   285          <widget class="QPushButton" name="browsePreExportButton">
   286           <property name="sizePolicy">
   287            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
   288             <horstretch>0</horstretch>
   289             <verstretch>0</verstretch>
   290            </sizepolicy>
   291           </property>
   292           <property name="text">
   293            <string>Browse</string>
   294           </property>
   295          </widget>
   296         </item>
   297        </layout>
   298       </item>
   299       <item row="1" column="0">
   300        <layout class="QHBoxLayout">
   301         <property name="spacing">
   302          <number>6</number>
   303         </property>
   304         <property name="margin">
   305          <number>0</number>
   306         </property>
   307         <item>
   308          <widget class="QLabel" name="textLabel2_2">
   309           <property name="sizePolicy">
   310            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
   311             <horstretch>0</horstretch>
   312             <verstretch>0</verstretch>
   313            </sizepolicy>
   314           </property>
   315           <property name="minimumSize">
   316            <size>
   317             <width>125</width>
   318             <height>0</height>
   319            </size>
   320           </property>
   321           <property name="frameShape">
   322            <enum>QFrame::NoFrame</enum>
   323           </property>
   324           <property name="text">
   325            <string>After Export:</string>
   326           </property>
   327           <property name="alignment">
   328            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   329           </property>
   330          </widget>
   331         </item>
   332         <item>
   333          <widget class="QLineEdit" name="lineEditPostScript"/>
   334         </item>
   335         <item>
   336          <widget class="QPushButton" name="browsePostExportButton">
   337           <property name="sizePolicy">
   338            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
   339             <horstretch>0</horstretch>
   340             <verstretch>0</verstretch>
   341            </sizepolicy>
   342           </property>
   343           <property name="text">
   344            <string>Browse</string>
   345           </property>
   346          </widget>
   347         </item>
   348        </layout>
   349       </item>
   350      </layout>
   351     </widget>
   352    </item>
   353    <item>
   354     <spacer>
   355      <property name="orientation">
   356       <enum>Qt::Vertical</enum>
   357      </property>
   358      <property name="sizeType">
   359       <enum>QSizePolicy::MinimumExpanding</enum>
   360      </property>
   361      <property name="sizeHint" stdset="0">
   362       <size>
   363        <width>20</width>
   364        <height>41</height>
   365       </size>
   366      </property>
   367     </spacer>
   368    </item>
   369    <item>
   370     <layout class="QHBoxLayout">
   371      <item>
   372       <spacer>
   373        <property name="orientation">
   374         <enum>Qt::Horizontal</enum>
   375        </property>
   376        <property name="sizeType">
   377         <enum>QSizePolicy::Expanding</enum>
   378        </property>
   379        <property name="sizeHint" stdset="0">
   380         <size>
   381          <width>61</width>
   382          <height>21</height>
   383         </size>
   384        </property>
   385       </spacer>
   386      </item>
   387      <item>
   388       <widget class="QPushButton" name="cancelButton">
   389        <property name="text">
   390         <string>Cancel</string>
   391        </property>
   392       </widget>
   393      </item>
   394      <item>
   395       <widget class="QPushButton" name="exportButton">
   396        <property name="text">
   397         <string>Export</string>
   398        </property>
   399        <property name="default">
   400         <bool>true</bool>
   401        </property>
   402       </widget>
   403      </item>
   404     </layout>
   405    </item>
   406   </layout>
   407  </widget>
   408  <layoutdefault spacing="6" margin="11"/>
   409  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
   410  <customwidgets>
   411   <customwidget>
   412    <class>Q3GroupBox</class>
   413    <extends>QGroupBox</extends>
   414    <header>Qt3Support/Q3GroupBox</header>
   415    <container>1</container>
   416   </customwidget>
   417  </customwidgets>
   418  <includes>
   419   <include location="local">xsltproc.h</include>
   420   <include location="local">process.h</include>
   421  </includes>
   422  <resources/>
   423  <connections>
   424   <connection>
   425    <sender>cancelButton</sender>
   426    <signal>clicked()</signal>
   427    <receiver>ExportHTMLDialog</receiver>
   428    <slot>reject()</slot>
   429    <hints>
   430     <hint type="sourcelabel">
   431      <x>459</x>
   432      <y>443</y>
   433     </hint>
   434     <hint type="destinationlabel">
   435      <x>256</x>
   436      <y>233</y>
   437     </hint>
   438    </hints>
   439   </connection>
   440   <connection>
   441    <sender>exportButton</sender>
   442    <signal>clicked()</signal>
   443    <receiver>ExportHTMLDialog</receiver>
   444    <slot>accept()</slot>
   445    <hints>
   446     <hint type="sourcelabel">
   447      <x>368</x>
   448      <y>443</y>
   449     </hint>
   450     <hint type="destinationlabel">
   451      <x>256</x>
   452      <y>233</y>
   453     </hint>
   454    </hints>
   455   </connection>
   456  </connections>
   457 </ui>