Warning, /graphics/krita/plugins/tools/tool_crop/wdg_tool_crop.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  <author>
0004     SPDX-FileCopyrightText: none
0005     SPDX-License-Identifier: GPL-3.0-or-later
0006   </author>
0007  <class>WdgToolCrop</class>
0008  <widget class="QWidget" name="WdgToolCrop">
0009   <property name="geometry">
0010    <rect>
0011     <x>0</x>
0012     <y>0</y>
0013     <width>306</width>
0014     <height>304</height>
0015    </rect>
0016   </property>
0017   <property name="windowTitle">
0018    <string>Crop</string>
0019   </property>
0020   <layout class="QVBoxLayout" name="verticalLayout_2">
0021    <property name="spacing">
0022     <number>0</number>
0023    </property>
0024    <property name="leftMargin">
0025     <number>0</number>
0026    </property>
0027    <property name="topMargin">
0028     <number>0</number>
0029    </property>
0030    <property name="rightMargin">
0031     <number>0</number>
0032    </property>
0033    <property name="bottomMargin">
0034     <number>0</number>
0035    </property>
0036    <item>
0037     <layout class="QHBoxLayout" name="horizontalLayout">
0038      <property name="spacing">
0039       <number>0</number>
0040      </property>
0041      <item>
0042       <layout class="QVBoxLayout" name="verticalLayout">
0043        <property name="spacing">
0044         <number>0</number>
0045        </property>
0046        <item>
0047         <layout class="QGridLayout" name="gridLayout">
0048          <property name="leftMargin">
0049           <number>5</number>
0050          </property>
0051          <property name="topMargin">
0052           <number>5</number>
0053          </property>
0054          <property name="rightMargin">
0055           <number>5</number>
0056          </property>
0057          <property name="bottomMargin">
0058           <number>5</number>
0059          </property>
0060          <property name="spacing">
0061           <number>5</number>
0062          </property>
0063          <item column="1" row="2">
0064           <widget class="QCheckBox" name="boolCenter">
0065            <property name="toolTip">
0066             <string>Resize keeping center fixed</string>
0067            </property>
0068            <property name="text">
0069             <string>Center</string>
0070            </property>
0071           </widget>
0072          </item>
0073          <item column="0" row="1">
0074           <widget class="QLabel" name="label_vertiPos">
0075            <property name="toolTip">
0076             <string>Vertical Position</string>
0077            </property>
0078            <property name="text">
0079             <string>&amp;Y:</string>
0080            </property>
0081            <property name="buddy">
0082             <cstring>intY</cstring>
0083            </property>
0084           </widget>
0085          </item>
0086          <item column="0" row="0">
0087           <widget class="QLabel" name="label_horizPos">
0088            <property name="toolTip">
0089             <string>Horizontal Position</string>
0090            </property>
0091            <property name="text">
0092             <string>&amp;X:</string>
0093            </property>
0094            <property name="buddy">
0095             <cstring>intX</cstring>
0096            </property>
0097           </widget>
0098          </item>
0099          <item column="1" row="0">
0100           <widget class="KisIntParseSpinBox" name="intX">
0101            <property name="minimumSize">
0102             <size>
0103              <width>60</width>
0104              <height>0</height>
0105             </size>
0106            </property>
0107            <property name="maximumSize">
0108             <size>
0109              <width>16777215</width>
0110              <height>16777215</height>
0111             </size>
0112            </property>
0113            <property name="toolTip">
0114             <string>Horizontal Position</string>
0115            </property>
0116            <property name="suffix">
0117             <string> px</string>
0118            </property>
0119            <property name="maximum">
0120             <number>30000</number>
0121            </property>
0122           </widget>
0123          </item>
0124          <item column="1" row="1">
0125           <widget class="KisIntParseSpinBox" name="intY">
0126            <property name="minimumSize">
0127             <size>
0128              <width>60</width>
0129              <height>0</height>
0130             </size>
0131            </property>
0132            <property name="maximumSize">
0133             <size>
0134              <width>16777215</width>
0135              <height>16777215</height>
0136             </size>
0137            </property>
0138            <property name="toolTip">
0139             <string>Vertical Position</string>
0140            </property>
0141            <property name="suffix">
0142             <string> px</string>
0143            </property>
0144            <property name="maximum">
0145             <number>30000</number>
0146            </property>
0147           </widget>
0148          </item>
0149          <item column="1" row="3">
0150           <widget class="QCheckBox" name="boolGrow">
0151            <property name="toolTip">
0152             <string>Allow growing the image by dragging outside bounds of the image</string>
0153            </property>
0154            <property name="text">
0155             <string comment="Grow as in crop tool">Grow</string>
0156            </property>
0157           </widget>
0158          </item>
0159         </layout>
0160        </item>
0161        <item>
0162         <spacer name="verticalSpacer">
0163          <property name="orientation">
0164           <enum>Qt::Vertical</enum>
0165          </property>
0166          <property name="sizeHint" stdset="0">
0167           <size>
0168            <width>20</width>
0169            <height>0</height>
0170           </size>
0171          </property>
0172         </spacer>
0173        </item>
0174       </layout>
0175      </item>
0176      <item>
0177       <spacer name="horizontalSpacer">
0178        <property name="orientation">
0179         <enum>Qt::Horizontal</enum>
0180        </property>
0181        <property name="sizeHint" stdset="0">
0182         <size>
0183          <width>0</width>
0184          <height>20</height>
0185         </size>
0186        </property>
0187       </spacer>
0188      </item>
0189      <item>
0190       <layout class="QGridLayout" name="gridLayout_2">
0191        <property name="leftMargin">
0192         <number>5</number>
0193        </property>
0194        <property name="topMargin">
0195         <number>5</number>
0196        </property>
0197        <property name="rightMargin">
0198         <number>5</number>
0199        </property>
0200        <property name="bottomMargin">
0201         <number>5</number>
0202        </property>
0203        <property name="spacing">
0204         <number>5</number>
0205        </property>
0206        <item column="2" row="3">
0207         <spacer name="verticalSpacer_3">
0208          <property name="orientation">
0209           <enum>Qt::Vertical</enum>
0210          </property>
0211          <property name="sizeHint" stdset="0">
0212           <size>
0213            <width>20</width>
0214            <height>40</height>
0215           </size>
0216          </property>
0217         </spacer>
0218        </item>
0219        <item column="2" row="1">
0220         <widget class="QLabel" name="heightLabel">
0221          <property name="toolTip">
0222           <string>Height</string>
0223          </property>
0224          <property name="text">
0225           <string>Height:</string>
0226          </property>
0227          <property name="alignment">
0228           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0229          </property>
0230         </widget>
0231        </item>
0232        <item column="4" row="1">
0233         <widget class="KisIntParseSpinBox" name="intHeight">
0234          <property name="minimumSize">
0235           <size>
0236            <width>60</width>
0237            <height>0</height>
0238           </size>
0239          </property>
0240          <property name="maximumSize">
0241           <size>
0242            <width>16777215</width>
0243            <height>16777215</height>
0244           </size>
0245          </property>
0246          <property name="toolTip">
0247           <string>Height</string>
0248          </property>
0249          <property name="suffix">
0250           <string> px</string>
0251          </property>
0252          <property name="maximum">
0253           <number>30000</number>
0254          </property>
0255         </widget>
0256        </item>
0257        <item column="4" row="0">
0258         <widget class="KisIntParseSpinBox" name="intWidth">
0259          <property name="minimumSize">
0260           <size>
0261            <width>60</width>
0262            <height>0</height>
0263           </size>
0264          </property>
0265          <property name="maximumSize">
0266           <size>
0267            <width>16777215</width>
0268            <height>16777215</height>
0269           </size>
0270          </property>
0271          <property name="toolTip">
0272           <string>Width</string>
0273          </property>
0274          <property name="suffix">
0275           <string> px</string>
0276          </property>
0277          <property name="maximum">
0278           <number>30000</number>
0279          </property>
0280         </widget>
0281        </item>
0282        <item column="4" row="2">
0283         <widget class="KisDoubleParseSpinBox" name="doubleRatio">
0284          <property name="minimumSize">
0285           <size>
0286            <width>60</width>
0287            <height>0</height>
0288           </size>
0289          </property>
0290          <property name="maximumSize">
0291           <size>
0292            <width>16777215</width>
0293            <height>16777215</height>
0294           </size>
0295          </property>
0296          <property name="toolTip">
0297           <string>Aspect ratio</string>
0298          </property>
0299          <property name="singleStep">
0300           <double>0.100000000000000</double>
0301          </property>
0302          <property name="precision" stdset="0">
0303           <number>2</number>
0304          </property>
0305         </widget>
0306        </item>
0307        <item column="2" row="2">
0308         <widget class="QLabel" name="aspectLabel">
0309          <property name="text">
0310           <string>Ratio:</string>
0311          </property>
0312          <property name="alignment">
0313           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0314          </property>
0315         </widget>
0316        </item>
0317        <item column="2" row="0">
0318         <widget class="QLabel" name="widthLabel">
0319          <property name="toolTip">
0320           <string>Width</string>
0321          </property>
0322          <property name="text">
0323           <string>Width:</string>
0324          </property>
0325          <property name="alignment">
0326           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0327          </property>
0328         </widget>
0329        </item>
0330        <item column="5" row="0">
0331         <widget class="QPushButton" name="lockWidthButton">
0332          <property name="toolTip">
0333           <string>Lock the width</string>
0334          </property>
0335          <property name="text">
0336           <string/>
0337          </property>
0338          <property name="checkable">
0339           <bool>true</bool>
0340          </property>
0341         </widget>
0342        </item>
0343        <item column="5" row="1">
0344         <widget class="QPushButton" name="lockHeightButton">
0345          <property name="toolTip">
0346           <string>Lock the height</string>
0347          </property>
0348          <property name="text">
0349           <string/>
0350          </property>
0351          <property name="checkable">
0352           <bool>true</bool>
0353          </property>
0354         </widget>
0355        </item>
0356        <item column="5" row="2">
0357         <widget class="QPushButton" name="lockRatioButton">
0358          <property name="toolTip">
0359           <string>Lock the aspect ratio</string>
0360          </property>
0361          <property name="text">
0362           <string/>
0363          </property>
0364          <property name="checkable">
0365           <bool>true</bool>
0366          </property>
0367          <property name="flat">
0368           <bool>false</bool>
0369          </property>
0370         </widget>
0371        </item>
0372       </layout>
0373      </item>
0374     </layout>
0375    </item>
0376    <item>
0377     <layout class="QGridLayout" name="gridLayout_3">
0378      <property name="leftMargin">
0379       <number>5</number>
0380      </property>
0381      <property name="topMargin">
0382       <number>0</number>
0383      </property>
0384      <property name="rightMargin">
0385       <number>5</number>
0386      </property>
0387      <property name="bottomMargin">
0388       <number>5</number>
0389      </property>
0390      <property name="spacing">
0391       <number>5</number>
0392      </property>
0393      <item column="1" row="2">
0394       <widget class="QComboBox" name="cmbType">
0395        <property name="currentIndex">
0396         <number>0</number>
0397        </property>
0398        <item>
0399         <property name="text">
0400          <string>Image</string>
0401         </property>
0402        </item>
0403        <item>
0404         <property name="text">
0405          <string>Canvas</string>
0406         </property>
0407        </item>
0408        <item>
0409         <property name="text">
0410          <string>Layer</string>
0411         </property>
0412        </item>
0413        <item>
0414         <property name="text">
0415          <string>Frame</string>
0416         </property>
0417        </item>
0418       </widget>
0419      </item>
0420      <item column="1" row="4">
0421       <widget class="QPushButton" name="bnCrop">
0422        <property name="text">
0423         <string>&amp;Crop</string>
0424        </property>
0425       </widget>
0426      </item>
0427      <item column="0" row="2">
0428       <widget class="QLabel" name="label">
0429        <property name="text">
0430         <string>Applies to:</string>
0431        </property>
0432        <property name="alignment">
0433         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0434        </property>
0435       </widget>
0436      </item>
0437      <item column="1" row="3">
0438       <widget class="QComboBox" name="cmbDecor">
0439        <item>
0440         <property name="text">
0441          <string>None</string>
0442         </property>
0443        </item>
0444        <item>
0445         <property name="text">
0446          <string>Thirds</string>
0447         </property>
0448        </item>
0449        <item>
0450         <property name="text">
0451          <string>Fifths</string>
0452         </property>
0453        </item>
0454        <item>
0455         <property name="text">
0456          <string>Passport photo</string>
0457         </property>
0458        </item>
0459        <item>
0460         <property name="text">
0461          <string>Crosshair</string>
0462         </property>
0463        </item>
0464       </widget>
0465      </item>
0466      <item column="0" row="3">
0467       <widget class="QLabel" name="label_2">
0468        <property name="text">
0469         <string>Decoration:</string>
0470        </property>
0471        <property name="alignment">
0472         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0473        </property>
0474       </widget>
0475      </item>
0476      <item column="1" row="5">
0477       <spacer name="verticalSpacer_2">
0478        <property name="orientation">
0479         <enum>Qt::Vertical</enum>
0480        </property>
0481        <property name="sizeHint" stdset="0">
0482         <size>
0483          <width>20</width>
0484          <height>40</height>
0485         </size>
0486        </property>
0487       </spacer>
0488      </item>
0489     </layout>
0490    </item>
0491    <item>
0492     <widget class="QWidget" name="SpecialSpacer" native="true"/>
0493    </item>
0494   </layout>
0495  </widget>
0496  <customwidgets>
0497   <customwidget>
0498    <class>KisIntParseSpinBox</class>
0499    <extends>QSpinBox</extends>
0500    <header>kis_int_parse_spin_box.h</header>
0501   </customwidget>
0502   <customwidget>
0503    <class>KisDoubleParseSpinBox</class>
0504    <extends>QDoubleSpinBox</extends>
0505    <header>kis_double_parse_spin_box.h</header>
0506   </customwidget>
0507  </customwidgets>
0508  <tabstops>
0509   <tabstop>intX</tabstop>
0510   <tabstop>intY</tabstop>
0511   <tabstop>boolCenter</tabstop>
0512   <tabstop>boolGrow</tabstop>
0513   <tabstop>intWidth</tabstop>
0514   <tabstop>lockWidthButton</tabstop>
0515   <tabstop>intHeight</tabstop>
0516   <tabstop>lockHeightButton</tabstop>
0517   <tabstop>doubleRatio</tabstop>
0518   <tabstop>lockRatioButton</tabstop>
0519   <tabstop>cmbType</tabstop>
0520   <tabstop>cmbDecor</tabstop>
0521   <tabstop>bnCrop</tabstop>
0522  </tabstops>
0523  <resources/>
0524  <connections/>
0525 </ui>