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++
<?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>KisToolKnifeOptionsWidget</class>
<widget class="QWidget" name="KisToolKnifeOptionsWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>250</width>
<height>306</height>
</rect>
</property>
<layout class="QVBoxLayout" name="mainLayout">
<item>
<widget class="KisOptionButtonStrip" name="optionButtonStripToolMode" native="true"/>
</item>
<item>
<widget class="QLabel" name="warningLabel">
<property name="text">
<string><html><head/><body><p>This tool only works on a vector layer.<br/>Create the first panel using any shape tool on a vector layer.</p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="gapOptionsWidget" native="true">
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Unit of width:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="unitsCombobox"/>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="thickGapWidthRadioButton">
<property name="toolTip">
<string>Thick gap width</string>
</property>
<property name="text">
<string>Thick gap:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KisDoubleSliderSpinBox" name="thickGapWidth">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Thick gap width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>500.000000000000000</double>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="value">
<double>40.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="thinGapWidthRadioButton">
<property name="toolTip">
<string>Thin gap width</string>
</property>
<property name="text">
<string>Thin gap:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KisDoubleSliderSpinBox" name="thinGapWidth">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Thin gap width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>500.000000000000000</double>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="value">
<double>15.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QRadioButton" name="specialGapWidthRadioButton">
<property name="toolTip">
<string>Special gap width</string>
</property>
<property name="text">
<string>Special gap:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="KisDoubleSliderSpinBox" name="customGapWidth">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Special gap width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>500.000000000000000</double>
</property>
<property name="singleStep">
<double>5.000000000000000</double>
</property>
<property name="value">
<double>70.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QRadioButton" name="automaticGapWidthRadioButton">
<property name="toolTip">
<string>Choose the width automatically, based on the angle</string>
</property>
<property name="text">
<string>Automatic</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="horizontalLabel">
<property name="toolTip">
<string>Horizontal gaps type:</string>
</property>
<property name="text">
<string>Horizontal:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="automaticHorizontalCombobox">
<property name="toolTip">
<string>Horizontal gaps type:</string>
</property>
<property name="currentText">
<string/>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="verticalLabel">
<property name="toolTip">
<string>Vertical gaps type:</string>
</property>
<property name="text">
<string>Vertical:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QComboBox" name="automaticVerticalCombobox">
<property name="toolTip">
<string>Vertical gaps type:</string>
</property>
<property name="currentText">
<string/>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="diagonalLabel">
<property name="toolTip">
<string>Diagonal gaps type:</string>
</property>
<property name="text">
<string>Diagonal:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QComboBox" name="automaticDiagonalCombobox">
<property name="toolTip">
<string>Diagonal gaps type:</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="angleLabel">
<property name="toolTip">
<string>Diagonal type angle threshold:</string>
</property>
<property name="text">
<string>Angle:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="KisDoubleSliderSpinBox" name="gutterWidthAngleSpinBox">
<property name="toolTip">
<string>Diagonal type angle threshold:</string>
</property>
<property name="prefix">
<string/>
</property>
<property name="suffix">
<string>°</string>
</property>
<property name="maximum">
<double>45.000000000000000</double>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<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>
<customwidgets>
<customwidget>
<class>KisOptionButtonStrip</class>
<extends>QWidget</extends>
<header>KisOptionButtonStrip.h</header>
</customwidget>
<customwidget>
<class>KisDoubleParseSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>kis_double_parse_spin_box.h</header>
</customwidget>
<customwidget>
<class>KisDoubleSliderSpinBox</class>
<extends>KisDoubleParseSpinBox</extends>
<header location="global">kis_slider_spin_box.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>