Warning, /graphics/kxstitch/ui/ImportImage.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>ImportImage</class>
0004  <widget class="QWidget" name="ImportImage">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>630</width>
0010     <height>468</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string>Import Image</string>
0015   </property>
0016   <layout class="QGridLayout" name="gridLayout_3">
0017    <item row="0" column="0" rowspan="2">
0018     <widget class="ScaledPixmapLabel" name="ImagePreview">
0019      <property name="sizePolicy">
0020       <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
0021        <horstretch>0</horstretch>
0022        <verstretch>0</verstretch>
0023       </sizepolicy>
0024      </property>
0025      <property name="minimumSize">
0026       <size>
0027        <width>280</width>
0028        <height>280</height>
0029       </size>
0030      </property>
0031      <property name="text">
0032       <string/>
0033      </property>
0034      <property name="alignment">
0035       <set>Qt::AlignCenter</set>
0036      </property>
0037     </widget>
0038    </item>
0039    <item row="0" column="1" colspan="2">
0040     <widget class="QGroupBox" name="groupBox">
0041      <property name="title">
0042       <string>Palette</string>
0043      </property>
0044      <layout class="QGridLayout" name="gridLayout">
0045       <item row="0" column="0">
0046        <widget class="QLabel" name="label">
0047         <property name="text">
0048          <string>Floss scheme</string>
0049         </property>
0050        </widget>
0051       </item>
0052       <item row="0" column="1">
0053        <widget class="KComboBox" name="FlossScheme">
0054         <property name="minimumSize">
0055          <size>
0056           <width>180</width>
0057           <height>0</height>
0058          </size>
0059         </property>
0060         <property name="toolTip">
0061          <string extracomment="The floss scheme to use for import."/>
0062         </property>
0063        </widget>
0064       </item>
0065       <item row="1" column="0">
0066        <widget class="QCheckBox" name="UseMaximumColors">
0067         <property name="toolTip">
0068          <string extracomment="Use a maximum number of colors."/>
0069         </property>
0070         <property name="text">
0071          <string>Maximum colors</string>
0072         </property>
0073        </widget>
0074       </item>
0075       <item row="1" column="1">
0076        <widget class="QSpinBox" name="MaximumColors">
0077         <property name="enabled">
0078          <bool>false</bool>
0079         </property>
0080         <property name="sizePolicy">
0081          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0082           <horstretch>0</horstretch>
0083           <verstretch>0</verstretch>
0084          </sizepolicy>
0085         </property>
0086         <property name="minimumSize">
0087          <size>
0088           <width>70</width>
0089           <height>0</height>
0090          </size>
0091         </property>
0092         <property name="maximumSize">
0093          <size>
0094           <width>70</width>
0095           <height>16777215</height>
0096          </size>
0097         </property>
0098         <property name="toolTip">
0099          <string extracomment="The maximum number of colors to use."/>
0100         </property>
0101         <property name="minimum">
0102          <number>1</number>
0103         </property>
0104         <property name="maximum">
0105          <number>250</number>
0106         </property>
0107         <property name="value">
0108          <number>50</number>
0109         </property>
0110        </widget>
0111       </item>
0112       <item row="2" column="0">
0113        <widget class="QCheckBox" name="IgnoreColor">
0114         <property name="toolTip">
0115          <string extracomment="Allow a color to be treated as transparent."/>
0116         </property>
0117         <property name="text">
0118          <string>Ignore color</string>
0119         </property>
0120        </widget>
0121       </item>
0122       <item row="2" column="1">
0123        <widget class="QPushButton" name="ColorButton">
0124         <property name="enabled">
0125          <bool>false</bool>
0126         </property>
0127         <property name="sizePolicy">
0128          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0129           <horstretch>0</horstretch>
0130           <verstretch>0</verstretch>
0131          </sizepolicy>
0132         </property>
0133         <property name="minimumSize">
0134          <size>
0135           <width>24</width>
0136           <height>24</height>
0137          </size>
0138         </property>
0139         <property name="baseSize">
0140          <size>
0141           <width>24</width>
0142           <height>24</height>
0143          </size>
0144         </property>
0145         <property name="toolTip">
0146          <string extracomment="Allow selection of the color to be treated as transparent."/>
0147         </property>
0148         <property name="text">
0149          <string/>
0150         </property>
0151         <property name="iconSize">
0152          <size>
0153           <width>22</width>
0154           <height>22</height>
0155          </size>
0156         </property>
0157        </widget>
0158       </item>
0159      </layout>
0160     </widget>
0161    </item>
0162    <item row="2" column="1">
0163     <widget class="QCheckBox" name="SetAsDefault">
0164      <property name="text">
0165       <string>Set as default</string>
0166      </property>
0167     </widget>
0168    </item>
0169    <item row="2" column="2">
0170     <spacer name="verticalSpacer">
0171      <property name="orientation">
0172       <enum>Qt::Vertical</enum>
0173      </property>
0174      <property name="sizeHint" stdset="0">
0175       <size>
0176        <width>20</width>
0177        <height>5</height>
0178       </size>
0179      </property>
0180     </spacer>
0181    </item>
0182    <item row="1" column="1" colspan="2">
0183     <widget class="QGroupBox" name="groupBox_2">
0184      <property name="title">
0185       <string>Size</string>
0186      </property>
0187      <layout class="QGridLayout" name="gridLayout_2">
0188       <item row="0" column="0">
0189        <widget class="QLabel" name="label_2">
0190         <property name="text">
0191          <string>Horizontal cloth count</string>
0192         </property>
0193        </widget>
0194       </item>
0195       <item row="0" column="1">
0196        <widget class="QDoubleSpinBox" name="HorizontalClothCount">
0197         <property name="sizePolicy">
0198          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0199           <horstretch>0</horstretch>
0200           <verstretch>0</verstretch>
0201          </sizepolicy>
0202         </property>
0203         <property name="minimumSize">
0204          <size>
0205           <width>70</width>
0206           <height>0</height>
0207          </size>
0208         </property>
0209         <property name="maximumSize">
0210          <size>
0211           <width>70</width>
0212           <height>16777215</height>
0213          </size>
0214         </property>
0215        </widget>
0216       </item>
0217       <item row="0" column="2" rowspan="2">
0218        <widget class="QPushButton" name="ClothCountLink">
0219         <property name="sizePolicy">
0220          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0221           <horstretch>0</horstretch>
0222           <verstretch>0</verstretch>
0223          </sizepolicy>
0224         </property>
0225         <property name="minimumSize">
0226          <size>
0227           <width>32</width>
0228           <height>32</height>
0229          </size>
0230         </property>
0231         <property name="maximumSize">
0232          <size>
0233           <width>32</width>
0234           <height>32</height>
0235          </size>
0236         </property>
0237         <property name="toolTip">
0238          <string extracomment="Link the horizontal and vertical cloth count."/>
0239         </property>
0240         <property name="iconSize">
0241          <size>
0242           <width>32</width>
0243           <height>32</height>
0244          </size>
0245         </property>
0246         <property name="checkable">
0247          <bool>true</bool>
0248         </property>
0249        </widget>
0250       </item>
0251       <item row="1" column="0">
0252        <widget class="QLabel" name="label_3">
0253         <property name="text">
0254          <string>Vertical cloth count</string>
0255         </property>
0256        </widget>
0257       </item>
0258       <item row="1" column="1">
0259        <widget class="QDoubleSpinBox" name="VerticalClothCount">
0260         <property name="sizePolicy">
0261          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
0262           <horstretch>0</horstretch>
0263           <verstretch>0</verstretch>
0264          </sizepolicy>
0265         </property>
0266         <property name="minimumSize">
0267          <size>
0268           <width>70</width>
0269           <height>0</height>
0270          </size>
0271         </property>
0272         <property name="maximumSize">
0273          <size>
0274           <width>70</width>
0275           <height>16777215</height>
0276          </size>
0277         </property>
0278        </widget>
0279       </item>
0280       <item row="2" column="0">
0281        <widget class="QLabel" name="label_6">
0282         <property name="text">
0283          <string>Pattern scale</string>
0284         </property>
0285        </widget>
0286       </item>
0287       <item row="2" column="1">
0288        <widget class="QSpinBox" name="PatternScale">
0289         <property name="minimumSize">
0290          <size>
0291           <width>70</width>
0292           <height>0</height>
0293          </size>
0294         </property>
0295         <property name="maximumSize">
0296          <size>
0297           <width>70</width>
0298           <height>16777215</height>
0299          </size>
0300         </property>
0301         <property name="suffix">
0302          <string>%</string>
0303         </property>
0304         <property name="minimum">
0305          <number>1</number>
0306         </property>
0307         <property name="maximum">
0308          <number>200</number>
0309         </property>
0310        </widget>
0311       </item>
0312       <item row="3" column="0">
0313        <widget class="QLabel" name="label_4">
0314         <property name="text">
0315          <string>Pattern size</string>
0316         </property>
0317        </widget>
0318       </item>
0319       <item row="5" column="0">
0320        <widget class="QCheckBox" name="UseFractionals">
0321         <property name="toolTip">
0322          <string extracomment="Use fractional quarter stitches instead of full stitches."/>
0323         </property>
0324         <property name="text">
0325          <string>Use fractionals</string>
0326         </property>
0327        </widget>
0328       </item>
0329       <item row="3" column="1">
0330        <widget class="QLabel" name="FinalSize">
0331         <property name="text">
0332          <string notr="true">TextLabel</string>
0333         </property>
0334        </widget>
0335       </item>
0336       <item row="4" column="0">
0337        <widget class="QCheckBox" name="CropEnabled">
0338         <property name="text">
0339          <string>Crop image</string>
0340         </property>
0341        </widget>
0342       </item>
0343       <item row="4" column="1">
0344        <widget class="QPushButton" name="CropReset">
0345         <property name="minimumSize">
0346          <size>
0347           <width>32</width>
0348           <height>32</height>
0349          </size>
0350         </property>
0351         <property name="maximumSize">
0352          <size>
0353           <width>32</width>
0354           <height>32</height>
0355          </size>
0356         </property>
0357         <property name="text">
0358          <string notr="true"/>
0359         </property>
0360         <property name="iconSize">
0361          <size>
0362           <width>32</width>
0363           <height>32</height>
0364          </size>
0365         </property>
0366        </widget>
0367       </item>
0368      </layout>
0369     </widget>
0370    </item>
0371    <item row="3" column="0" colspan="3">
0372     <widget class="QDialogButtonBox" name="DialogButtonBox">
0373      <property name="standardButtons">
0374       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
0375      </property>
0376     </widget>
0377    </item>
0378   </layout>
0379  </widget>
0380  <customwidgets>
0381   <customwidget>
0382    <class>KComboBox</class>
0383    <extends>QComboBox</extends>
0384    <header>kcombobox.h</header>
0385   </customwidget>
0386   <customwidget>
0387    <class>ScaledPixmapLabel</class>
0388    <extends>QLabel</extends>
0389    <header>ScaledPixmapLabel.h</header>
0390   </customwidget>
0391  </customwidgets>
0392  <resources/>
0393  <connections>
0394   <connection>
0395    <sender>UseMaximumColors</sender>
0396    <signal>toggled(bool)</signal>
0397    <receiver>MaximumColors</receiver>
0398    <slot>setEnabled(bool)</slot>
0399    <hints>
0400     <hint type="sourcelabel">
0401      <x>350</x>
0402      <y>69</y>
0403     </hint>
0404     <hint type="destinationlabel">
0405      <x>465</x>
0406      <y>69</y>
0407     </hint>
0408    </hints>
0409   </connection>
0410   <connection>
0411    <sender>IgnoreColor</sender>
0412    <signal>toggled(bool)</signal>
0413    <receiver>ColorButton</receiver>
0414    <slot>setEnabled(bool)</slot>
0415    <hints>
0416     <hint type="sourcelabel">
0417      <x>324</x>
0418      <y>97</y>
0419     </hint>
0420     <hint type="destinationlabel">
0421      <x>463</x>
0422      <y>103</y>
0423     </hint>
0424    </hints>
0425   </connection>
0426  </connections>
0427 </ui>