Warning, /graphics/skanlite/src/settings.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>SkanliteSettings</class>
0004  <widget class="QWidget" name="SkanliteSettings">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>453</width>
0010     <height>370</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string>Settings</string>
0015   </property>
0016   <layout class="QVBoxLayout" name="verticalLayout">
0017    <item>
0018     <widget class="QGroupBox" name="groupBox">
0019      <property name="title">
0020       <string>Image saving</string>
0021      </property>
0022      <layout class="QGridLayout" name="gridLayout">
0023       <item row="1" column="0">
0024        <widget class="QLabel" name="label_7">
0025         <property name="text">
0026          <string>Preview before saving:</string>
0027         </property>
0028         <property name="alignment">
0029          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0030         </property>
0031         <property name="buddy">
0032          <cstring>showB4Save</cstring>
0033         </property>
0034        </widget>
0035       </item>
0036       <item row="1" column="1">
0037        <widget class="QCheckBox" name="showB4Save">
0038         <property name="text">
0039          <string/>
0040         </property>
0041        </widget>
0042       </item>
0043       <item row="2" column="0">
0044        <widget class="QLabel" name="label_6">
0045         <property name="text">
0046          <string>Save mode:</string>
0047         </property>
0048         <property name="alignment">
0049          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0050         </property>
0051         <property name="buddy">
0052          <cstring>saveModeCB</cstring>
0053         </property>
0054        </widget>
0055       </item>
0056       <item row="2" column="1" colspan="2">
0057        <widget class="QComboBox" name="saveModeCB">
0058         <item>
0059          <property name="text">
0060           <string>Open the save dialog for every image</string>
0061          </property>
0062         </item>
0063         <item>
0064          <property name="text">
0065           <string>Open the save dialog for the first image only</string>
0066          </property>
0067         </item>
0068        </widget>
0069       </item>
0070       <item row="3" column="0" colspan="3">
0071        <widget class="Line" name="line">
0072         <property name="orientation">
0073          <enum>Qt::Horizontal</enum>
0074         </property>
0075        </widget>
0076       </item>
0077       <item row="4" column="0">
0078        <widget class="QLabel" name="label">
0079         <property name="text">
0080          <string>Save Location:</string>
0081         </property>
0082         <property name="alignment">
0083          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0084         </property>
0085        </widget>
0086       </item>
0087       <item row="5" column="0">
0088        <widget class="QLabel" name="label_2">
0089         <property name="text">
0090          <string>Name &amp;&amp; Format:</string>
0091         </property>
0092         <property name="alignment">
0093          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0094         </property>
0095         <property name="buddy">
0096          <cstring>imgPrefix</cstring>
0097         </property>
0098        </widget>
0099       </item>
0100       <item row="5" column="1" colspan="2">
0101        <layout class="QHBoxLayout">
0102         <item>
0103          <widget class="QLineEdit" name="imgPrefix">
0104           <property name="text">
0105            <string>Image</string>
0106           </property>
0107          </widget>
0108         </item>
0109         <item>
0110          <widget class="QLabel" name="label_3">
0111           <property name="text">
0112            <string>####.</string>
0113           </property>
0114          </widget>
0115         </item>
0116         <item>
0117          <widget class="QComboBox" name="imgFormat"/>
0118         </item>
0119        </layout>
0120       </item>
0121       <item row="7" column="0">
0122        <widget class="QLabel" name="label_4">
0123         <property name="text">
0124          <string>Specify save quality:</string>
0125         </property>
0126         <property name="alignment">
0127          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0128         </property>
0129         <property name="buddy">
0130          <cstring>setQuality</cstring>
0131         </property>
0132        </widget>
0133       </item>
0134       <item row="7" column="1" colspan="2">
0135        <layout class="QHBoxLayout" name="horizontalLayout">
0136         <item>
0137          <widget class="QCheckBox" name="setQuality">
0138           <property name="text">
0139            <string/>
0140           </property>
0141          </widget>
0142         </item>
0143         <item>
0144          <widget class="QFrame" name="imgQualityFrame">
0145           <property name="enabled">
0146            <bool>false</bool>
0147           </property>
0148           <property name="frameShape">
0149            <enum>QFrame::NoFrame</enum>
0150           </property>
0151           <property name="frameShadow">
0152            <enum>QFrame::Plain</enum>
0153           </property>
0154           <property name="lineWidth">
0155            <number>0</number>
0156           </property>
0157           <layout class="QHBoxLayout">
0158            <property name="spacing">
0159             <number>6</number>
0160            </property>
0161            <property name="leftMargin">
0162             <number>0</number>
0163            </property>
0164            <property name="topMargin">
0165             <number>0</number>
0166            </property>
0167            <property name="rightMargin">
0168             <number>0</number>
0169            </property>
0170            <property name="bottomMargin">
0171             <number>0</number>
0172            </property>
0173            <item>
0174             <widget class="QSlider" name="horizontalSlider">
0175              <property name="maximum">
0176               <number>100</number>
0177              </property>
0178              <property name="value">
0179               <number>85</number>
0180              </property>
0181              <property name="sliderPosition">
0182               <number>85</number>
0183              </property>
0184              <property name="orientation">
0185               <enum>Qt::Horizontal</enum>
0186              </property>
0187             </widget>
0188            </item>
0189            <item>
0190             <widget class="QSpinBox" name="imgQuality">
0191              <property name="suffix">
0192               <string>%</string>
0193              </property>
0194              <property name="maximum">
0195               <number>100</number>
0196              </property>
0197              <property name="value">
0198               <number>85</number>
0199              </property>
0200             </widget>
0201            </item>
0202           </layout>
0203          </widget>
0204         </item>
0205        </layout>
0206       </item>
0207       <item row="6" column="0" colspan="3">
0208        <widget class="Line" name="line_2">
0209         <property name="orientation">
0210          <enum>Qt::Horizontal</enum>
0211         </property>
0212        </widget>
0213       </item>
0214       <item row="4" column="1" colspan="2">
0215        <widget class="KUrlRequester" name="saveDirRequester">
0216         <property name="sizePolicy">
0217          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
0218           <horstretch>0</horstretch>
0219           <verstretch>0</verstretch>
0220          </sizepolicy>
0221         </property>
0222         <property name="mode">
0223          <set>KFile::Directory|KFile::ExistingOnly</set>
0224         </property>
0225        </widget>
0226       </item>
0227      </layout>
0228     </widget>
0229    </item>
0230    <item>
0231     <widget class="QGroupBox" name="generalGB">
0232      <property name="title">
0233       <string>General</string>
0234      </property>
0235      <layout class="QGridLayout" name="gridLayout_2">
0236       <item row="0" column="1">
0237        <widget class="QCheckBox" name="setPreviewDPI">
0238         <property name="text">
0239          <string>Set preview resolution (DPI)</string>
0240         </property>
0241        </widget>
0242       </item>
0243       <item row="0" column="2">
0244        <widget class="QComboBox" name="previewDPI">
0245         <property name="enabled">
0246          <bool>false</bool>
0247         </property>
0248         <property name="editable">
0249          <bool>true</bool>
0250         </property>
0251         <item>
0252          <property name="text">
0253           <string>50</string>
0254          </property>
0255         </item>
0256         <item>
0257          <property name="text">
0258           <string>75</string>
0259          </property>
0260         </item>
0261         <item>
0262          <property name="text">
0263           <string>100</string>
0264          </property>
0265         </item>
0266         <item>
0267          <property name="text">
0268           <string>150</string>
0269          </property>
0270         </item>
0271         <item>
0272          <property name="text">
0273           <string>300</string>
0274          </property>
0275         </item>
0276         <item>
0277          <property name="text">
0278           <string notr="true">600</string>
0279          </property>
0280         </item>
0281        </widget>
0282       </item>
0283       <item row="1" column="1" colspan="2">
0284        <widget class="QCheckBox" name="u_disableSelections">
0285         <property name="text">
0286          <string>Disable automatic selections</string>
0287         </property>
0288        </widget>
0289       </item>
0290       <item row="0" column="0">
0291        <spacer name="horizontalSpacer">
0292         <property name="orientation">
0293          <enum>Qt::Horizontal</enum>
0294         </property>
0295         <property name="sizeHint" stdset="0">
0296          <size>
0297           <width>40</width>
0298           <height>20</height>
0299          </size>
0300         </property>
0301        </spacer>
0302       </item>
0303       <item row="0" column="3">
0304        <spacer name="horizontalSpacer_2">
0305         <property name="orientation">
0306          <enum>Qt::Horizontal</enum>
0307         </property>
0308         <property name="sizeHint" stdset="0">
0309          <size>
0310           <width>40</width>
0311           <height>20</height>
0312          </size>
0313         </property>
0314        </spacer>
0315       </item>
0316       <item row="2" column="1" colspan="2">
0317        <widget class="QPushButton" name="revertOptions">
0318         <property name="text">
0319          <string>Revert scanner options to default values</string>
0320         </property>
0321        </widget>
0322       </item>
0323      </layout>
0324     </widget>
0325    </item>
0326    <item>
0327     <spacer name="verticalSpacer">
0328      <property name="orientation">
0329       <enum>Qt::Vertical</enum>
0330      </property>
0331      <property name="sizeHint" stdset="0">
0332       <size>
0333        <width>1</width>
0334        <height>1</height>
0335       </size>
0336      </property>
0337     </spacer>
0338    </item>
0339   </layout>
0340  </widget>
0341  <customwidgets>
0342   <customwidget>
0343    <class>KUrlRequester</class>
0344    <extends>QWidget</extends>
0345    <header>kurlrequester.h</header>
0346   </customwidget>
0347  </customwidgets>
0348  <resources/>
0349  <connections>
0350   <connection>
0351    <sender>setQuality</sender>
0352    <signal>toggled(bool)</signal>
0353    <receiver>imgQualityFrame</receiver>
0354    <slot>setEnabled(bool)</slot>
0355    <hints>
0356     <hint type="sourcelabel">
0357      <x>144</x>
0358      <y>172</y>
0359     </hint>
0360     <hint type="destinationlabel">
0361      <x>365</x>
0362      <y>173</y>
0363     </hint>
0364    </hints>
0365   </connection>
0366   <connection>
0367    <sender>horizontalSlider</sender>
0368    <signal>valueChanged(int)</signal>
0369    <receiver>imgQuality</receiver>
0370    <slot>setValue(int)</slot>
0371    <hints>
0372     <hint type="sourcelabel">
0373      <x>303</x>
0374      <y>172</y>
0375     </hint>
0376     <hint type="destinationlabel">
0377      <x>365</x>
0378      <y>173</y>
0379     </hint>
0380    </hints>
0381   </connection>
0382   <connection>
0383    <sender>imgQuality</sender>
0384    <signal>valueChanged(int)</signal>
0385    <receiver>horizontalSlider</receiver>
0386    <slot>setValue(int)</slot>
0387    <hints>
0388     <hint type="sourcelabel">
0389      <x>365</x>
0390      <y>173</y>
0391     </hint>
0392     <hint type="destinationlabel">
0393      <x>303</x>
0394      <y>172</y>
0395     </hint>
0396    </hints>
0397   </connection>
0398   <connection>
0399    <sender>setPreviewDPI</sender>
0400    <signal>toggled(bool)</signal>
0401    <receiver>previewDPI</receiver>
0402    <slot>setEnabled(bool)</slot>
0403    <hints>
0404     <hint type="sourcelabel">
0405      <x>130</x>
0406      <y>14</y>
0407     </hint>
0408     <hint type="destinationlabel">
0409      <x>176</x>
0410      <y>14</y>
0411     </hint>
0412    </hints>
0413   </connection>
0414  </connections>
0415 </ui>