Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1eecb736 authored by Wolthera van Hövell's avatar Wolthera van Hövell 🛍

Hide 3d transformation box, remove unused color box.

parent 2d505b0c
......@@ -39,8 +39,6 @@ KisWdgPattern::KisWdgPattern(QWidget* parent)
m_widget = new Ui_WdgPatternOptions();
m_widget->setupUi(this);
m_widget->lblPattern->setVisible(false);
m_widget->lblColor->setVisible(false);
m_widget->bnColor->setVisible(false);
m_widget->sldShearX->setSuffix(i18n(" px"));
m_widget->sldShearY->setSuffix(i18n(" px"));
......@@ -69,6 +67,9 @@ KisWdgPattern::KisWdgPattern(QWidget* parent)
m_widget->sldRotationX->setSingleStep(1.0);
m_widget->sldRotationY->setSingleStep(1.0);
m_widget->sldRotationZ->setSingleStep(1.0);
m_widget->gb3dRotation->setVisible(false);
connect(m_widget->patternChooser, SIGNAL(resourceSelected(KoResourceSP)), this, SIGNAL(sigConfigurationUpdated()));
connect(m_widget->sldShearX, SIGNAL(valueChanged(double)), this, SIGNAL(sigConfigurationUpdated()));
......
......@@ -44,22 +44,6 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblColor">
<property name="text">
<string>&amp;Color:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>bnColor</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KisColorButton" name="bnColor"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabTransform">
......@@ -68,7 +52,7 @@
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="4" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_5">
<widget class="QGroupBox" name="gb3dRotation">
<property name="title">
<string>3d Rotation:</string>
</property>
......@@ -111,7 +95,7 @@
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_2">
<widget class="QGroupBox" name="gbScale">
<property name="title">
<string>Scale:</string>
</property>
......@@ -175,7 +159,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox_3">
<widget class="QGroupBox" name="gbOffset">
<property name="title">
<string>Offset:</string>
</property>
......@@ -204,7 +188,7 @@
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_4">
<widget class="QGroupBox" name="gbShear">
<property name="title">
<string>Shear:</string>
</property>
......@@ -247,7 +231,7 @@
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox">
<widget class="QGroupBox" name="gbRotation">
<property name="title">
<string>Rotation:</string>
</property>
......@@ -265,11 +249,6 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KisColorButton</class>
<extends>QPushButton</extends>
<header>kis_color_button.h</header>
</customwidget>
<customwidget>
<class>KisPatternChooser</class>
<extends>QWidget</extends>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment