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++
15.0 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>AssistantsToolOptions</class>
 <widget class="QWidget" name="AssistantsToolOptions">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>255</width>
    <height>337</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <layout class="QFormLayout" name="formLayout_2">
     <property name="rowWrapPolicy">
      <enum>QFormLayout::WrapLongRows</enum>
     </property>
     <item row="0" column="0">
      <widget class="QLabel" name="label">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
        <string>Add:</string>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <widget class="QComboBox" name="availableAssistantsComboBox"/>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QCheckBox" name="localAssistantCheckbox">
     <property name="toolTip">
      <string>The assistant will have two additional points that describe the area the assistant works in</string>
     </property>
     <property name="text">
      <string>Limit assistant to area</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="Line" name="line_2">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
    <widget class="KisDoubleSliderSpinBox" name="twoPointDensitySpinbox" native="true">
     <property name="minimumSize">
      <size>
       <width>50</width>
       <height>20</height>
      </size>
     </property>
    </widget>
   </item>
   <item>
    <widget class="KisDoubleSliderSpinBox" name="vanishingPointAngleSpinbox" native="true">
     <property name="minimumSize">
      <size>
       <width>50</width>
       <height>20</height>
      </size>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="twoPointUseVerticalCheckbox">
     <property name="toolTip">
      <string>When enabled, it gives assistance for drawing vertical lines (perpendicular to the horizon line)</string>
     </property>
     <property name="text">
      <string extracomment="User/snap to vertical line in 2 point perspective assistant">Enable vertical ruler</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="KisSliderSpinBox" name="subdivisionsSpinbox" native="true">
     <property name="minimumSize">
      <size>
       <width>50</width>
       <height>20</height>
      </size>
     </property>
    </widget>
   </item>
   <item>
    <widget class="KisSliderSpinBox" name="minorSubdivisionsSpinbox" native="true">
     <property name="minimumSize">
      <size>
       <width>50</width>
       <height>20</height>
      </size>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="fixedLengthCheckbox">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="text">
      <string>Fixed Length</string>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_6">
     <item>
      <widget class="KisDoubleParseUnitSpinBox" name="fixedLengthSpinbox" native="true">
       <property name="minimumSize">
        <size>
         <width>30</width>
         <height>20</height>
        </size>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QComboBox" name="fixedLengthUnit">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>20</width>
         <height>20</height>
        </size>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QLabel" name="globalColorLabel">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="text">
      <string>Global Color:</string>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_3">
     <item>
      <widget class="KisSliderSpinBox" name="assistantsGlobalOpacitySlider" native="true">
       <property name="minimumSize">
        <size>
         <width>30</width>
         <height>0</height>
        </size>
       </property>
       <property name="maximum" stdset="0">
        <number>100</number>
       </property>
      </widget>
     </item>
     <item>
      <widget class="KColorButton" name="assistantsColor">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>20</width>
         <height>0</height>
        </size>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QCheckBox" name="useCustomAssistantColor">
     <property name="enabled">
      <bool>true</bool>
     </property>
     <property name="sizePolicy">
      <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="text">
      <string>Custom Color</string>
     </property>
    </widget>
   </item>
  <item>
    <layout class="QHBoxLayout" name="horizontalLayout_4">
     <item>
      <widget class="KisSliderSpinBox" name="customColorOpacitySlider" native="true">
       <property name="minimumSize">
        <size>
         <width>30</width>
         <height>0</height>
        </size>
       </property>
       <property name="maximum" stdset="0">
        <number>100</number>
       </property>
      </widget>
     </item>
     <item>
      <widget class="KColorButton" name="customAssistantColorButton">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>20</width>
         <height>0</height>
        </size>
       </property>
      </widget>
     </item>
   </layout>
   </item>
   <item>
    <layout class="QHBoxLayout" name="brushPriorityLayout">
     <item>
      <widget class="QLabel" name="brushPriorityLabel">
       <property name="text">
        <string>Brush Priority:</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QSpinBox" name="brushPrioritySpinbox">
       <property name="minimumSize">
        <size>
         <width>70</width>
         <height>20</height>
        </size>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="brushPriorityHelpButton">
       <property name="text">
        <string/>
       </property>
       <property name="iconSize">
        <size>
         <width>16</width>
         <height>16</height>
        </size>
       </property>
       <property name="autoRaise">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="brushPrioritySpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
    </layout>
   </item>
    <item>
      <widget class="Line" name="dockerOptionsLine">
          <property name="orientation">
            <enum>Qt::Horizontal</enum>
          </property>
      </widget>
    </item>
   <item>
    <layout class="QHBoxLayout" name="showDockerOptionsLayout">
      <item>
        <widget class="QToolButton" name="showDockerOptionsButton">
          <property name="sizePolicy">
            <sizepolicy hsizetype="Fixed  " vsizetype="Fixed  ">
              <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
            </sizepolicy>
          </property>
        <property name="iconSize">
          <size>
          <width>18</width>
          <height>18</height>
          </size>
        </property>  
        </widget>
        </item>
        <item>
          <widget class="QLabel" name="showDockerOptionsLabel">
            <property name="sizePolicy">
              <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
              </sizepolicy>
            </property>
            <property name="text">
              <string>Control Widget Options</string>
            </property>
          </widget>
        </item>
      </layout>
     </item>
   <item>
    <widget class="QWidget" name="showDockerOptionsPanel">
      <property name="visible">
          <bool>false</bool>
        </property>
      <layout class="QVBoxLayout" name="verticalLayout">
        <item>
          <widget class="QCheckBox" name="showMove">
            <property name="enabled">
              <bool>true</bool>
            </property>
            <property name="sizePolicy">
              <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
              </sizepolicy>
            </property>
            <property name="text">
              <string>Show Move</string>
            </property>
          </widget>
        </item>
      <item>
        <widget class="QCheckBox" name="showSnap">
          <property name="enabled">
            <bool>true</bool>
          </property>
          <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
            </sizepolicy>
          </property>
          <property name="text">
            <string>Show Snapping</string>
          </property>
        </widget>
      </item>
      <item>
        <widget class="QCheckBox" name="showLock">
          <property name="enabled">
            <bool>true</bool>
          </property>
          <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
            </sizepolicy>
          </property>
          <property name="text">
            <string>Show Lock</string>
          </property>
        </widget>
      </item>
      <item>
        <widget class="QCheckBox" name="showDuplicate">
          <property name="enabled">
            <bool>true</bool>
          </property>
          <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
            </sizepolicy>
          </property>
          <property name="text">
            <string>Show Duplicate</string>
          </property>
        </widget>
      </item>
      <item>
        <widget class="QCheckBox" name="showDelete">
          <property name="enabled">
            <bool>true</bool>
          </property>
          <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
            </sizepolicy>
          </property>
          <property name="text">
            <string>Show Delete</string>
          </property>
        </widget>
      </item>
    </layout>
    </widget>
  </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_5"/>
   </item>
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>5</height>
      </size>
     </property>
    </spacer>
   </item>
   <item>
    <widget class="Line" name="line">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_2">
     <item>
      <widget class="QToolButton" name="loadAssistantButton">
       <property name="toolTip">
        <string>Load Assistant Set</string>
       </property>
       <property name="text">
        <string/>
       </property>
       <property name="iconSize">
        <size>
         <width>18</width>
         <height>18</height>
        </size>
       </property>
       <property name="autoRaise">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="saveAssistantButton">
       <property name="toolTip">
        <string>Save Assistant Set</string>
       </property>
       <property name="text">
        <string/>
       </property>
       <property name="iconSize">
        <size>
         <width>18</width>
         <height>18</height>
        </size>
       </property>
       <property name="autoRaise">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QToolButton" name="deleteAllAssistantsButton">
       <property name="text">
        <string>All</string>
       </property>
       <property name="iconSize">
        <size>
         <width>18</width>
         <height>18</height>
        </size>
       </property>  
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>KColorButton</class>
   <extends>QPushButton</extends>
   <header>kcolorbutton.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>KisDoubleSliderSpinBox</class>
   <extends>QDoubleSpinBox</extends>
   <header>kis_slider_spin_box.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>KisSliderSpinBox</class>
   <extends>QSpinBox</extends>
   <header>kis_slider_spin_box.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>KisDoubleParseUnitSpinBox</class>
   <extends>QWidget</extends>
   <header>kis_double_parse_unit_spin_box.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>