Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
16.3 KB
Raw Blame
<?xml version="1.0" encoding="utf-8"?>
<ui version="4.0">
 <author>
    SPDX-FileCopyrightText: none
    SPDX-License-Identifier: GPL-3.0-or-later
  </author>
 <class>WdgHairyeOptions</class>
 <widget class="QWidget" name="WdgHairyeOptions">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>373</width>
    <height>431</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="minimumSize">
   <size>
    <width>0</width>
    <height>0</height>
   </size>
  </property>
  <layout class="QGridLayout" name="gridLayout_6">
   <item column="0" row="0">
    <widget class="QTabWidget" name="hairyTab">
     <property name="currentIndex">
      <number>0</number>
     </property>
     <widget class="QWidget" name="brushTab">
      <attribute name="title">
       <string>Brush Shape</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_8">
       <item column="0" row="0">
        <layout class="QVBoxLayout" name="verticalLayout_2">
         <item>
          <layout class="QHBoxLayout" name="horizontalLayout">
           <item>
            <widget class="QGroupBox" name="shapeGroup">
             <property name="title">
              <string>Shape</string>
             </property>
             <layout class="QGridLayout" name="gridLayout_5">
              <item column="0" row="0">
               <widget class="QRadioButton" name="oneDimBrushBtn">
                <property name="text">
                 <string>1D</string>
                </property>
                <property name="checked">
                 <bool>false</bool>
                </property>
               </widget>
              </item>
              <item column="0" row="1">
               <widget class="QRadioButton" name="twoDimBrushBtn">
                <property name="text">
                 <string>2D</string>
                </property>
                <property name="checked">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item column="0" row="2">
               <spacer name="verticalSpacer_2">
                <property name="orientation">
                 <enum>Qt::Vertical</enum>
                </property>
                <property name="sizeHint" stdset="0">
                 <size>
                  <width>20</width>
                  <height>40</height>
                 </size>
                </property>
               </spacer>
              </item>
             </layout>
            </widget>
           </item>
           <item>
            <widget class="QGroupBox" name="brushGroup">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="minimumSize">
              <size>
               <width>0</width>
               <height>165</height>
              </size>
             </property>
             <property name="title">
              <string>Brush Settings</string>
             </property>
             <layout class="QGridLayout" name="gridLayout_4">
              <item column="0" row="4">
               <spacer name="verticalSpacer_4">
                <property name="orientation">
                 <enum>Qt::Vertical</enum>
                </property>
                <property name="sizeHint" stdset="0">
                 <size>
                  <width>20</width>
                  <height>40</height>
                 </size>
                </property>
               </spacer>
              </item>
              <item column="1" row="0">
               <widget class="QSpinBox" name="radiusSpinBox">
                <property name="value">
                 <number>5</number>
                </property>
               </widget>
              </item>
              <item column="1" row="2">
               <widget class="QDoubleSpinBox" name="sigmaSpinBox">
                <property name="value">
                 <double>20.000000000000000</double>
                </property>
               </widget>
              </item>
              <item colspan="2" column="0" row="3">
               <widget class="QCheckBox" name="mousePressureCBox">
                <property name="text">
                 <string>Mouse pressure</string>
                </property>
                <property name="checked">
                 <bool>false</bool>
                </property>
               </widget>
              </item>
              <item column="0" row="0">
               <widget class="QLabel" name="radiusLabel">
                <property name="text">
                 <string>radius</string>
                </property>
                <property name="alignment">
                 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                </property>
               </widget>
              </item>
              <item column="0" row="2">
               <widget class="QLabel" name="sigmaLabel">
                <property name="text">
                 <string>sigma</string>
                </property>
                <property name="alignment">
                 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                </property>
               </widget>
              </item>
             </layout>
            </widget>
           </item>
          </layout>
         </item>
         <item>
          <widget class="QGroupBox" name="movementGroup">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="title">
            <string>Experimental Params</string>
           </property>
           <layout class="QGridLayout" name="gridLayout_3">
            <item column="1" row="3">
             <spacer name="verticalSpacer_3">
              <property name="orientation">
               <enum>Qt::Vertical</enum>
              </property>
              <property name="sizeHint" stdset="0">
               <size>
                <width>20</width>
                <height>40</height>
               </size>
              </property>
             </spacer>
            </item>
            <item column="0" row="0">
             <widget class="QLabel" name="label">
              <property name="text">
               <string>Scale factor</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
              </property>
             </widget>
            </item>
            <item column="1" row="0">
             <widget class="QDoubleSpinBox" name="scaleBox">
              <property name="minimum">
               <double>-99.000000000000000</double>
              </property>
              <property name="value">
               <double>2.000000000000000</double>
              </property>
             </widget>
            </item>
            <item column="0" row="1">
             <widget class="QLabel" name="label_2">
              <property name="text">
               <string>Shear factor</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
              </property>
             </widget>
            </item>
            <item column="1" row="1">
             <widget class="QDoubleSpinBox" name="shearBox">
              <property name="minimum">
               <double>-99.000000000000000</double>
              </property>
              <property name="value">
               <double>0.000000000000000</double>
              </property>
             </widget>
            </item>
            <item column="0" row="2">
             <widget class="QLabel" name="label_3">
              <property name="text">
               <string>Random offset</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
              </property>
             </widget>
            </item>
            <item column="1" row="2">
             <widget class="QDoubleSpinBox" name="rndBox">
              <property name="minimum">
               <double>-99.000000000000000</double>
              </property>
              <property name="maximum">
               <double>999.990000000000009</double>
              </property>
              <property name="value">
               <double>2.000000000000000</double>
              </property>
             </widget>
            </item>
           </layout>
          </widget>
         </item>
        </layout>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="inkTab">
      <attribute name="title">
       <string>Ink depletion</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_7">
       <item column="0" row="0">
        <widget class="QGroupBox" name="groupBox_2">
         <property name="title">
          <string>Ink</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_2">
          <item column="0" row="0">
           <layout class="QHBoxLayout" name="horizontalLayout_6">
            <item>
             <widget class="QLabel" name="inkLabel">
              <property name="text">
               <string>Ink Amount</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QSpinBox" name="inkAmountSpinBox">
              <property name="maximum">
               <number>10000</number>
              </property>
              <property name="value">
               <number>1024</number>
              </property>
             </widget>
            </item>
           </layout>
          </item>
          <item column="0" row="1">
           <layout class="QHBoxLayout" name="horizontalLayout_2">
            <item>
             <widget class="QCheckBox" name="opacityCBox">
              <property name="text">
               <string>Opacity</string>
              </property>
              <property name="checked">
               <bool>true</bool>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QCheckBox" name="saturationCBox">
              <property name="enabled">
               <bool>true</bool>
              </property>
              <property name="text">
               <string>Saturation</string>
              </property>
              <property name="checked">
               <bool>false</bool>
              </property>
             </widget>
            </item>
           </layout>
          </item>
         </layout>
        </widget>
       </item>
       <item column="0" row="1">
        <widget class="QGroupBox" name="groupBox">
         <property name="minimumSize">
          <size>
           <width>0</width>
           <height>130</height>
          </size>
         </property>
         <property name="title">
          <string>Ink Depletion Curve</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_3">
          <item>
           <widget class="KisCurveWidget" name="inkCurve"/>
          </item>
         </layout>
        </widget>
       </item>
       <item column="0" row="2">
        <widget class="QGroupBox" name="weightGroup">
         <property name="title">
          <string>Saturation Weights</string>
         </property>
         <layout class="QGridLayout" name="gridLayout">
          <item column="1" row="0">
           <widget class="QSlider" name="pressureSlider">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="toolTip">
             <string>pressure weight</string>
            </property>
            <property name="minimum">
             <number>0</number>
            </property>
            <property name="maximum">
             <number>100</number>
            </property>
            <property name="value">
             <number>50</number>
            </property>
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="tickPosition">
             <enum>QSlider::TicksBelow</enum>
            </property>
           </widget>
          </item>
          <item column="4" row="0">
           <widget class="QSlider" name="inkDepletionSlider">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="toolTip">
             <string>Ink depletion curve weight</string>
            </property>
            <property name="minimum">
             <number>0</number>
            </property>
            <property name="maximum">
             <number>100</number>
            </property>
            <property name="value">
             <number>50</number>
            </property>
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="tickPosition">
             <enum>QSlider::TicksBelow</enum>
            </property>
           </widget>
          </item>
          <item column="2" row="0">
           <widget class="QSlider" name="bristleLengthSlider">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="toolTip">
             <string>bristle length weight</string>
            </property>
            <property name="minimum">
             <number>0</number>
            </property>
            <property name="maximum">
             <number>100</number>
            </property>
            <property name="value">
             <number>50</number>
            </property>
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="tickPosition">
             <enum>QSlider::TicksBelow</enum>
            </property>
           </widget>
          </item>
          <item column="3" row="0">
           <widget class="QSlider" name="bristleInkAmountSlider">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="toolTip">
             <string>Bristle ink amount weight</string>
            </property>
            <property name="minimum">
             <number>0</number>
            </property>
            <property name="maximum">
             <number>100</number>
            </property>
            <property name="value">
             <number>50</number>
            </property>
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="tickPosition">
             <enum>QSlider::TicksBelow</enum>
            </property>
           </widget>
          </item>
          <item column="0" row="0">
           <widget class="QCheckBox" name="weightSaturationCBox">
            <property name="text">
             <string>weighted saturation</string>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>KisCurveWidget</class>
   <extends>QWidget</extends>
   <header>widgets/kis_curve_widget.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>