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 6687137f authored by Lukáš Tvrdý's avatar Lukáš Tvrdý

Small tweaks to improve look&feel

o add label to the input pressure curve
o change icon from rocket to tablet for tablet settings
o don't limit the curve to scale to 1000, use Qt's maximum
parent 0e6908ce
......@@ -327,7 +327,7 @@ TabletSettingsTab::TabletSettingsTab(QWidget* parent, const char* name): QWidget
KisCubicCurve curve;
curve.fromString( cfg.pressureTabletCurve() );
m_page->pressureCurve->setMaximumSize(QSize(1000, 1000));
m_page->pressureCurve->setMaximumSize(QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX));
m_page->pressureCurve->setCurve(curve);
}
......@@ -607,7 +607,7 @@ KisDlgPreferences::KisDlgPreferences(QWidget* parent, const char* name)
vbox = new KVBox();
page = new KPageWidgetItem(vbox, i18n("Tablet settings"));
page->setHeader(i18n("Tablet"));
page->setIcon(KIcon("preferences-system-performance"));
page->setIcon(KIcon("input-tablet"));
addPage(page);
m_tabletSettings = new TabletSettingsTab(vbox);
......
......@@ -10,30 +10,42 @@
<height>457</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Color Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="KisCurveWidget" name="pressureCurve" native="true">
<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>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Input pressure global curve</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="KisCurveWidget" name="pressureCurve" native="true">
<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>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
......
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