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++
Remove unused options UI file from the text tool.
Wolthera van Hövell tot Westerflier3d1caea071eb
diff --git a/plugins/tools/svgtexttool/CMakeLists.txt b/plugins/tools/svgtexttool/CMakeLists.txtindex 5d07fd15ac..f8e87ef307 100644--- a/plugins/tools/svgtexttool/CMakeLists.txt+++ b/plugins/tools/svgtexttool/CMakeLists.txt@@ -41,7 +41,6 @@ set (SvgTextTool_SRCSki18n_wrap_ui(SvgTextTool_SRCSWdgSvgTextEditor.ui- WdgSvgTextOptionWidget.uiWdgSvgTextSettings.ui)diff --git a/plugins/tools/svgtexttool/WdgSvgTextOptionWidget.ui b/plugins/tools/svgtexttool/WdgSvgTextOptionWidget.uideleted file mode 100644index 8cf935b5c9..0000000000--- a/plugins/tools/svgtexttool/WdgSvgTextOptionWidget.ui+++ /dev/null@@ -1,381 +0,0 @@-<?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>WdgSvgTextOptionWidget</class>- <widget class="QWidget" name="WdgSvgTextOptionWidget">- <property name="geometry">- <rect>- <x>0</x>- <y>0</y>- <width>452</width>- <height>463</height>- </rect>- </property>- <layout class="QGridLayout" name="gridLayout">- <item row="5" column="0">- <spacer name="verticalSpacer">- <property name="orientation">- <enum>Qt::Vertical</enum>- </property>- <property name="sizeHint" stdset="0">- <size>- <width>0</width>- <height>0</height>- </size>- </property>- </spacer>- </item>- <item row="1" column="0">- <widget class="QPushButton" name="btnEditSvg">- <property name="text">- <string>Edit SVG Source</string>- </property>- </widget>- </item>- <item row="3" column="0">- <widget class="QGroupBox" name="groupBoxConvert">- <property name="title">- <string>Text Type</string>- </property>- <layout class="QVBoxLayout" name="verticalLayout_3">- <item>- <widget class="QPushButton" name="convertPreFormatBtn">- <property name="toolTip">- <string><html><head/><body><p>The text will not wrap and preserves spaces and new lines. A line break is inserted so the lines from wrapping or positioning remain separated.</p></body></html></string>- </property>- <property name="text">- <string>Preformatted</string>- </property>- <property name="checkable">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QPushButton" name="convertInlineBtn">- <property name="toolTip">- <string><html><head/><body><p>Text wraps inside a fixed length, spaces and new lines are preserved. New lines are not removed.</p></body></html></string>- </property>- <property name="text">- <string>Inline Wrapped</string>- </property>- <property name="checkable">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QPushButton" name="convertToSvg1_1">- <property name="toolTip">- <string><html><head/><body><p>Text uses SVG 1.1 character transforms to position each line. Spaces and new lines are collapsed. This is for backward compatibility with SVG 1.1.</p></body></html></string>- </property>- <property name="text">- <string>Prepositioned</string>- </property>- <property name="checkable">- <bool>true</bool>- </property>- </widget>- </item>- </layout>- </widget>- </item>- <item row="2" column="0">- <widget class="QPushButton" name="btnGlyphPalette">- <property name="text">- <string>Glyph Palette</string>- </property>- </widget>- </item>- <item row="0" column="0">- <widget class="QGroupBox" name="defsOptions">- <property name="title">- <string>Create new texts with...</string>- </property>- <layout class="QVBoxLayout" name="verticalLayout">- <item>- <widget class="QFontComboBox" name="defFont"/>- </item>- <item>- <layout class="QHBoxLayout" name="alignButtons">- <item>- <widget class="QComboBox" name="defPointSize"/>- </item>- <item>- <widget class="QToolButton" name="alignLeft">- <property name="toolTip">- <string>Anchor text to the left.</string>- </property>- <property name="icon">- <iconset theme="format-justify-left">- <normaloff>.</normaloff>.</iconset>- </property>- <property name="iconSize">- <size>- <width>22</width>- <height>22</height>- </size>- </property>- <property name="checkable">- <bool>true</bool>- </property>- <property name="autoRaise">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QToolButton" name="alignCenter">- <property name="toolTip">- <string>Anchor text to the middle.</string>- </property>- <property name="icon">- <iconset theme="format-justify-center">- <normaloff>.</normaloff>.</iconset>- </property>- <property name="iconSize">- <size>- <width>22</width>- <height>22</height>- </size>- </property>- <property name="checkable">- <bool>true</bool>- </property>- <property name="autoRaise">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QToolButton" name="alignRight">- <property name="toolTip">- <string>Anchor text to the right.</string>- </property>- <property name="icon">- <iconset theme="format-justify-right">- <normaloff>.</normaloff>.</iconset>- </property>- <property name="iconSize">- <size>- <width>22</width>- <height>22</height>- </size>- </property>- <property name="checkable">- <bool>true</bool>- </property>- <property name="autoRaise">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QDoubleSpinBox" name="defLetterSpacing">- <property name="toolTip">- <string>Letter Spacing</string>- </property>- <property name="minimum">- <double>-20.000000000000000</double>- </property>- <property name="maximum">- <double>20.000000000000000</double>- </property>- <property name="singleStep">- <double>0.500000000000000</double>- </property>- </widget>- </item>- </layout>- </item>- <item>- <layout class="QHBoxLayout" name="horizontalLayout">- <item>- <widget class="QToolButton" name="modeHorizontalTb">- <property name="toolTip">- <string>Text flows horizontal, top to bottom.</string>- </property>- <property name="text">- <string/>- </property>- <property name="icon">- <iconset theme="format-text-direction-horizontal-tb">- <normaloff>.</normaloff>.</iconset>- </property>- <property name="iconSize">- <size>- <width>22</width>- <height>22</height>- </size>- </property>- <property name="checkable">- <bool>true</bool>- </property>- <property name="autoRaise">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QToolButton" name="modeVerticalRl">- <property name="toolTip">- <string>Text flows vertical, right to left.</string>- </property>- <property name="text">- <string/>- </property>- <property name="icon">- <iconset theme="format-text-direction-vertical-rl">- <normaloff>.</normaloff>.</iconset>- </property>- <property name="iconSize">- <size>- <width>22</width>- <height>22</height>- </size>- </property>- <property name="checkable">- <bool>true</bool>- </property>- <property name="autoRaise">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QToolButton" name="modeVerticalLr">- <property name="toolTip">- <string>Text flows vertical, left to right.</string>- </property>- <property name="text">- <string/>- </property>- <property name="icon">- <iconset theme="format-text-direction-vertical-lr">- <normaloff>.</normaloff>.</iconset>- </property>- <property name="iconSize">- <size>- <width>22</width>- <height>22</height>- </size>- </property>- <property name="checkable">- <bool>true</bool>- </property>- <property name="autoRaise">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="Line" name="line">- <property name="orientation">- <enum>Qt::Vertical</enum>- </property>- </widget>- </item>- <item>- <widget class="QToolButton" name="directionLtr">- <property name="toolTip">- <string>Left to right text direction.</string>- </property>- <property name="text">- <string/>- </property>- <property name="icon">- <iconset theme="format-text-direction-ltr">- <normaloff>.</normaloff>.</iconset>- </property>- <property name="iconSize">- <size>- <width>22</width>- <height>22</height>- </size>- </property>- <property name="checkable">- <bool>true</bool>- </property>- <property name="autoRaise">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QToolButton" name="directionRtl">- <property name="toolTip">- <string>Right to left text direction.</string>- </property>- <property name="text">- <string/>- </property>- <property name="icon">- <iconset theme="format-text-direction-rtl">- <normaloff>.</normaloff>.</iconset>- </property>- <property name="iconSize">- <size>- <width>22</width>- <height>22</height>- </size>- </property>- <property name="checkable">- <bool>true</bool>- </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>- </layout>- </item>- </layout>- </widget>- </item>- <item row="4" column="0">- <widget class="QGroupBox" name="groupBoxDebug">- <property name="title">- <string notr="true">Debug Tools</string>- </property>- <layout class="QVBoxLayout" name="verticalLayout_2">- <item>- <widget class="QCheckBox" name="chkDbgCharBbox">- <property name="text">- <string notr="true">Show char bounding boxes</string>- </property>- <property name="checked">- <bool>true</bool>- </property>- </widget>- </item>- <item>- <widget class="QCheckBox" name="chkDbgLineBox">- <property name="text">- <string notr="true">Show line boxes</string>- </property>- </widget>- </item>- </layout>- </widget>- </item>- </layout>- </widget>- <resources/>- <connections/>-</ui>