Warning, /graphics/krita/plugins/dockers/griddocker/grid_config_widget.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>GridConfigWidget</class>
0008  <widget class="QWidget" name="GridConfigWidget">
0009   <property name="geometry">
0010    <rect>
0011     <x>0</x>
0012     <y>0</y>
0013     <width>258</width>
0014     <height>527</height>
0015    </rect>
0016   </property>
0017   <property name="minimumSize">
0018    <size>
0019     <width>30</width>
0020     <height>0</height>
0021    </size>
0022   </property>
0023   <layout class="QHBoxLayout" name="horizontalLayout_4">
0024    <item>
0025     <widget class="QTabWidget" name="tabWidget">
0026      <property name="sizePolicy">
0027       <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0028        <horstretch>0</horstretch>
0029        <verstretch>0</verstretch>
0030       </sizepolicy>
0031      </property>
0032      <property name="minimumSize">
0033       <size>
0034        <width>187</width>
0035        <height>280</height>
0036       </size>
0037      </property>
0038      <property name="currentIndex">
0039       <number>0</number>
0040      </property>
0041      <widget class="QWidget" name="tab">
0042       <attribute name="title">
0043        <string>Grid</string>
0044       </attribute>
0045       <layout class="QVBoxLayout" name="verticalLayout">
0046        <item>
0047         <layout class="QHBoxLayout" name="horizontalLayout">
0048          <property name="sizeConstraint">
0049           <enum>QLayout::SetDefaultConstraint</enum>
0050          </property>
0051          <item>
0052           <widget class="QCheckBox" name="chkShowGrid">
0053            <property name="sizePolicy">
0054             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0055              <horstretch>0</horstretch>
0056              <verstretch>0</verstretch>
0057             </sizepolicy>
0058            </property>
0059            <property name="text">
0060             <string>Show grid</string>
0061            </property>
0062           </widget>
0063          </item>
0064          <item>
0065           <widget class="QCheckBox" name="chkSnapToGrid">
0066            <property name="sizePolicy">
0067             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0068              <horstretch>0</horstretch>
0069              <verstretch>0</verstretch>
0070             </sizepolicy>
0071            </property>
0072            <property name="text">
0073             <string>Snap to grid</string>
0074            </property>
0075           </widget>
0076          </item>
0077         </layout>
0078        </item>
0079        <item>
0080         <layout class="QHBoxLayout" name="horizontalLayout_5">
0081          <item>
0082           <widget class="QLabel" name="label_4">
0083            <property name="sizePolicy">
0084             <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
0085              <horstretch>0</horstretch>
0086              <verstretch>0</verstretch>
0087             </sizepolicy>
0088            </property>
0089            <property name="text">
0090             <string>Type:</string>
0091            </property>
0092           </widget>
0093          </item>
0094          <item>
0095           <widget class="QComboBox" name="gridTypeCombobox">
0096            <property name="sizePolicy">
0097             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0098              <horstretch>0</horstretch>
0099              <verstretch>0</verstretch>
0100             </sizepolicy>
0101            </property>
0102           </widget>
0103          </item>
0104         </layout>
0105        </item>
0106        <item>
0107         <layout class="QGridLayout" name="isometricControlsLayout" columnstretch="0,0">
0108          <property name="sizeConstraint">
0109           <enum>QLayout::SetDefaultConstraint</enum>
0110          </property>
0111          <item row="2" column="1">
0112           <widget class="QSpinBox" name="cellSpacingSpinbox">
0113            <property name="sizePolicy">
0114             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0115              <horstretch>0</horstretch>
0116              <verstretch>0</verstretch>
0117             </sizepolicy>
0118            </property>
0119            <property name="suffix">
0120             <string/>
0121            </property>
0122            <property name="minimum">
0123             <number>10</number>
0124            </property>
0125            <property name="maximum">
0126             <number>1000</number>
0127            </property>
0128            <property name="value">
0129             <number>30</number>
0130            </property>
0131           </widget>
0132          </item>
0133          <item row="2" column="0">
0134           <widget class="QLabel" name="cellSpacingLabel">
0135            <property name="sizePolicy">
0136             <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
0137              <horstretch>0</horstretch>
0138              <verstretch>0</verstretch>
0139             </sizepolicy>
0140            </property>
0141            <property name="text">
0142             <string>Cell Spacing:</string>
0143            </property>
0144           </widget>
0145          </item>
0146          <item row="1" column="0">
0147           <widget class="QLabel" name="rightAngleLabel">
0148            <property name="sizePolicy">
0149             <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
0150              <horstretch>0</horstretch>
0151              <verstretch>0</verstretch>
0152             </sizepolicy>
0153            </property>
0154            <property name="text">
0155             <string>Right Angle:</string>
0156            </property>
0157           </widget>
0158          </item>
0159          <item row="0" column="0">
0160           <widget class="QLabel" name="leftAngleLabel">
0161            <property name="sizePolicy">
0162             <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
0163              <horstretch>0</horstretch>
0164              <verstretch>0</verstretch>
0165             </sizepolicy>
0166            </property>
0167            <property name="text">
0168             <string>Left Angle:</string>
0169            </property>
0170           </widget>
0171          </item>
0172          <item row="0" column="1">
0173           <widget class="KisAngleSelector" name="angleLeftAngleSelector" native="true"/>
0174          </item>
0175          <item row="1" column="1">
0176           <widget class="KisAngleSelector" name="angleRightAngleSelector" native="true"/>
0177          </item>
0178         </layout>
0179        </item>
0180        <item>
0181         <layout class="QGridLayout" name="rectangleGridLayout">
0182          <item row="0" column="0">
0183           <widget class="QLabel" name="lblXSpacing">
0184            <property name="sizePolicy">
0185             <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
0186              <horstretch>0</horstretch>
0187              <verstretch>0</verstretch>
0188             </sizepolicy>
0189            </property>
0190            <property name="text">
0191             <string>X spacing:</string>
0192            </property>
0193           </widget>
0194          </item>
0195          <item row="0" column="1">
0196           <widget class="KisIntParseSpinBox" name="intHSpacing">
0197            <property name="suffix">
0198             <string> px</string>
0199            </property>
0200            <property name="minimum">
0201             <number>1</number>
0202            </property>
0203            <property name="maximum">
0204             <number>500</number>
0205            </property>
0206            <property name="value">
0207             <number>10</number>
0208            </property>
0209           </widget>
0210          </item>
0211          <item row="0" column="2" rowspan="2">
0212           <widget class="KoAspectButton" name="spacingAspectButton" native="true"/>
0213          </item>
0214          <item row="1" column="0">
0215           <widget class="QLabel" name="lblYSpacing">
0216            <property name="sizePolicy">
0217             <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
0218              <horstretch>0</horstretch>
0219              <verstretch>0</verstretch>
0220             </sizepolicy>
0221            </property>
0222            <property name="text">
0223             <string>Y spacing:</string>
0224            </property>
0225           </widget>
0226          </item>
0227          <item row="1" column="1">
0228           <widget class="KisIntParseSpinBox" name="intVSpacing">
0229            <property name="suffix">
0230             <string> px</string>
0231            </property>
0232            <property name="minimum">
0233             <number>1</number>
0234            </property>
0235            <property name="maximum">
0236             <number>500</number>
0237            </property>
0238            <property name="value">
0239             <number>10</number>
0240            </property>
0241           </widget>
0242          </item>
0243          <item row="2" column="0">
0244           <widget class="QLabel" name="lblSubdivision">
0245            <property name="text">
0246             <string>Subdivision:</string>
0247            </property>
0248           </widget>
0249          </item>
0250          <item row="2" column="1">
0251           <widget class="KisIntParseSpinBox" name="intSubdivision">
0252            <property name="sizePolicy">
0253             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
0254              <horstretch>0</horstretch>
0255              <verstretch>0</verstretch>
0256             </sizepolicy>
0257            </property>
0258            <property name="minimum">
0259             <number>1</number>
0260            </property>
0261            <property name="maximum">
0262             <number>10</number>
0263            </property>
0264            <property name="value">
0265             <number>2</number>
0266            </property>
0267           </widget>
0268          </item>
0269         </layout>
0270        </item>
0271        <item>
0272         <layout class="QGridLayout" name="gridLayout">
0273          <item row="1" column="2">
0274           <widget class="KColorButton" name="colorSubdivision">
0275            <property name="sizePolicy">
0276             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0277              <horstretch>0</horstretch>
0278              <verstretch>0</verstretch>
0279             </sizepolicy>
0280            </property>
0281            <property name="minimumSize">
0282             <size>
0283              <width>30</width>
0284              <height>0</height>
0285             </size>
0286            </property>
0287            <property name="text">
0288             <string/>
0289            </property>
0290            <property name="color">
0291             <color>
0292              <red>0</red>
0293              <green>0</green>
0294              <blue>0</blue>
0295             </color>
0296            </property>
0297            <property name="defaultColor">
0298             <color>
0299              <red>0</red>
0300              <green>0</green>
0301              <blue>0</blue>
0302             </color>
0303            </property>
0304           </widget>
0305          </item>
0306          <item row="1" column="0">
0307           <widget class="QLabel" name="lblSubdivisionStyle">
0308            <property name="sizePolicy">
0309             <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
0310              <horstretch>0</horstretch>
0311              <verstretch>0</verstretch>
0312             </sizepolicy>
0313            </property>
0314            <property name="text">
0315             <string>Div Style:</string>
0316            </property>
0317            <property name="alignment">
0318             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0319            </property>
0320           </widget>
0321          </item>
0322          <item row="1" column="1">
0323           <widget class="KComboBox" name="selectSubdivisionStyle">
0324            <property name="currentIndex">
0325             <number>1</number>
0326            </property>
0327            <item>
0328             <property name="text">
0329              <string comment="Grid line style - Solid Lines">Lines</string>
0330             </property>
0331            </item>
0332            <item>
0333             <property name="text">
0334              <string>Dashed</string>
0335             </property>
0336            </item>
0337            <item>
0338             <property name="text">
0339              <string>Dots</string>
0340             </property>
0341            </item>
0342           </widget>
0343          </item>
0344          <item row="0" column="2">
0345           <widget class="KColorButton" name="colorMain">
0346            <property name="sizePolicy">
0347             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0348              <horstretch>0</horstretch>
0349              <verstretch>0</verstretch>
0350             </sizepolicy>
0351            </property>
0352            <property name="minimumSize">
0353             <size>
0354              <width>30</width>
0355              <height>0</height>
0356             </size>
0357            </property>
0358            <property name="text">
0359             <string/>
0360            </property>
0361           </widget>
0362          </item>
0363          <item row="0" column="1">
0364           <widget class="KComboBox" name="selectMainStyle">
0365            <property name="currentIndex">
0366             <number>0</number>
0367            </property>
0368            <item>
0369             <property name="text">
0370              <string comment="Grid line style - Solid Lines">Lines</string>
0371             </property>
0372            </item>
0373            <item>
0374             <property name="text">
0375              <string>Dashed</string>
0376             </property>
0377            </item>
0378            <item>
0379             <property name="text">
0380              <string>Dots</string>
0381             </property>
0382            </item>
0383           </widget>
0384          </item>
0385          <item row="0" column="0">
0386           <widget class="QLabel" name="lblMainStyle">
0387            <property name="sizePolicy">
0388             <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
0389              <horstretch>0</horstretch>
0390              <verstretch>0</verstretch>
0391             </sizepolicy>
0392            </property>
0393            <property name="text">
0394             <string>Main Style:</string>
0395            </property>
0396            <property name="alignment">
0397             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0398            </property>
0399           </widget>
0400          </item>
0401         </layout>
0402        </item>
0403        <item>
0404         <widget class="QCheckBox" name="chkOffset">
0405          <property name="sizePolicy">
0406           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
0407            <horstretch>0</horstretch>
0408            <verstretch>0</verstretch>
0409           </sizepolicy>
0410          </property>
0411          <property name="minimumSize">
0412           <size>
0413            <width>107</width>
0414            <height>22</height>
0415           </size>
0416          </property>
0417          <property name="baseSize">
0418           <size>
0419            <width>0</width>
0420            <height>0</height>
0421           </size>
0422          </property>
0423          <property name="text">
0424           <string>Grid Offset</string>
0425          </property>
0426          <property name="checked">
0427           <bool>false</bool>
0428          </property>
0429         </widget>
0430        </item>
0431        <item>
0432         <layout class="QHBoxLayout" name="horizontalLayout_3">
0433          <item>
0434           <layout class="QGridLayout" name="gridLayout_2">
0435            <item row="0" column="1">
0436             <widget class="KisIntParseSpinBox" name="intXOffset">
0437              <property name="sizePolicy">
0438               <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0439                <horstretch>0</horstretch>
0440                <verstretch>0</verstretch>
0441               </sizepolicy>
0442              </property>
0443              <property name="suffix">
0444               <string> px</string>
0445              </property>
0446              <property name="maximum">
0447               <number>500</number>
0448              </property>
0449              <property name="value">
0450               <number>0</number>
0451              </property>
0452             </widget>
0453            </item>
0454            <item row="0" column="0">
0455             <widget class="QLabel" name="lblXOffset">
0456              <property name="sizePolicy">
0457               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0458                <horstretch>0</horstretch>
0459                <verstretch>0</verstretch>
0460               </sizepolicy>
0461              </property>
0462              <property name="text">
0463               <string>X offset:</string>
0464              </property>
0465             </widget>
0466            </item>
0467            <item row="1" column="0">
0468             <widget class="QLabel" name="lblYOffset">
0469              <property name="sizePolicy">
0470               <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0471                <horstretch>0</horstretch>
0472                <verstretch>0</verstretch>
0473               </sizepolicy>
0474              </property>
0475              <property name="text">
0476               <string>Y offset:</string>
0477              </property>
0478             </widget>
0479            </item>
0480            <item row="1" column="1">
0481             <widget class="KisIntParseSpinBox" name="intYOffset">
0482              <property name="sizePolicy">
0483               <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0484                <horstretch>0</horstretch>
0485                <verstretch>0</verstretch>
0486               </sizepolicy>
0487              </property>
0488              <property name="suffix">
0489               <string> px</string>
0490              </property>
0491              <property name="maximum">
0492               <number>500</number>
0493              </property>
0494              <property name="value">
0495               <number>0</number>
0496              </property>
0497             </widget>
0498            </item>
0499           </layout>
0500          </item>
0501          <item>
0502           <widget class="KoAspectButton" name="offsetAspectButton" native="true">
0503            <property name="sizePolicy">
0504             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0505              <horstretch>0</horstretch>
0506              <verstretch>0</verstretch>
0507             </sizepolicy>
0508            </property>
0509            <property name="minimumSize">
0510             <size>
0511              <width>24</width>
0512              <height>24</height>
0513             </size>
0514            </property>
0515           </widget>
0516          </item>
0517         </layout>
0518        </item>
0519        <item>
0520         <spacer name="verticalSpacer">
0521          <property name="orientation">
0522           <enum>Qt::Vertical</enum>
0523          </property>
0524          <property name="sizeHint" stdset="0">
0525           <size>
0526            <width>20</width>
0527            <height>40</height>
0528           </size>
0529          </property>
0530         </spacer>
0531        </item>
0532       </layout>
0533      </widget>
0534      <widget class="QWidget" name="tab_2">
0535       <attribute name="title">
0536        <string>Guides</string>
0537       </attribute>
0538       <layout class="QVBoxLayout" name="verticalLayout_4">
0539        <item>
0540         <layout class="QVBoxLayout" name="verticalLayout_2">
0541          <item>
0542           <layout class="QGridLayout" name="gridLayout_4">
0543            <item row="0" column="0">
0544             <widget class="QCheckBox" name="chkShowGuides">
0545              <property name="text">
0546               <string>Show guides</string>
0547              </property>
0548             </widget>
0549            </item>
0550            <item row="0" column="1">
0551             <widget class="QCheckBox" name="chkSnapToGuides">
0552              <property name="text">
0553               <string>Snap to guides</string>
0554              </property>
0555             </widget>
0556            </item>
0557            <item row="1" column="0">
0558             <widget class="QCheckBox" name="chkLockGuides">
0559              <property name="text">
0560               <string>Lock guides</string>
0561              </property>
0562             </widget>
0563            </item>
0564            <item row="1" column="1">
0565             <widget class="QCheckBox" name="chkShowRulers">
0566              <property name="text">
0567               <string>Show rulers</string>
0568              </property>
0569             </widget>
0570            </item>
0571           </layout>
0572          </item>
0573          <item>
0574           <layout class="QHBoxLayout" name="horizontalLayout_2">
0575            <item>
0576             <widget class="QLabel" name="lblGuidesStyle">
0577              <property name="sizePolicy">
0578               <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
0579                <horstretch>0</horstretch>
0580                <verstretch>0</verstretch>
0581               </sizepolicy>
0582              </property>
0583              <property name="text">
0584               <string>Guides:</string>
0585              </property>
0586              <property name="alignment">
0587               <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0588              </property>
0589             </widget>
0590            </item>
0591            <item>
0592             <widget class="KComboBox" name="selectGuidesStyle">
0593              <property name="currentIndex">
0594               <number>0</number>
0595              </property>
0596              <item>
0597               <property name="text">
0598                <string comment="Grid line style - Solid Lines">Lines</string>
0599               </property>
0600              </item>
0601              <item>
0602               <property name="text">
0603                <string>Dashed</string>
0604               </property>
0605              </item>
0606              <item>
0607               <property name="text">
0608                <string>Dots</string>
0609               </property>
0610              </item>
0611             </widget>
0612            </item>
0613            <item>
0614             <widget class="KColorButton" name="colorGuides">
0615              <property name="sizePolicy">
0616               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0617                <horstretch>0</horstretch>
0618                <verstretch>0</verstretch>
0619               </sizepolicy>
0620              </property>
0621              <property name="minimumSize">
0622               <size>
0623                <width>30</width>
0624                <height>0</height>
0625               </size>
0626              </property>
0627              <property name="text">
0628               <string/>
0629              </property>
0630              <property name="color">
0631               <color>
0632                <red>0</red>
0633                <green>0</green>
0634                <blue>0</blue>
0635               </color>
0636              </property>
0637              <property name="defaultColor">
0638               <color>
0639                <red>0</red>
0640                <green>0</green>
0641                <blue>0</blue>
0642               </color>
0643              </property>
0644             </widget>
0645            </item>
0646           </layout>
0647          </item>
0648         </layout>
0649        </item>
0650        <item>
0651         <spacer name="verticalSpacer_2">
0652          <property name="orientation">
0653           <enum>Qt::Vertical</enum>
0654          </property>
0655          <property name="sizeHint" stdset="0">
0656           <size>
0657            <width>20</width>
0658            <height>40</height>
0659           </size>
0660          </property>
0661         </spacer>
0662        </item>
0663       </layout>
0664      </widget>
0665     </widget>
0666    </item>
0667   </layout>
0668  </widget>
0669  <customwidgets>
0670   <customwidget>
0671    <class>KComboBox</class>
0672    <extends>QComboBox</extends>
0673    <header>kcombobox.h</header>
0674   </customwidget>
0675   <customwidget>
0676    <class>KColorButton</class>
0677    <extends>QPushButton</extends>
0678    <header>kcolorbutton.h</header>
0679    <container>1</container>
0680   </customwidget>
0681   <customwidget>
0682    <class>KoAspectButton</class>
0683    <extends>QWidget</extends>
0684    <header>KoAspectButton.h</header>
0685    <container>1</container>
0686   </customwidget>
0687   <customwidget>
0688    <class>KisIntParseSpinBox</class>
0689    <extends>QSpinBox</extends>
0690    <header>kis_int_parse_spin_box.h</header>
0691   </customwidget>
0692   <customwidget>
0693    <class>KisAngleSelector</class>
0694    <extends>QWidget</extends>
0695    <header location="global">KisAngleSelector.h</header>
0696    <container>1</container>
0697   </customwidget>
0698  </customwidgets>
0699  <resources/>
0700  <connections/>
0701 </ui>