Paste P354

Masterwork From Distant Lands
ActivePublic

Authored by dkazakov on Mar 25 2019, 7:10 PM.
diff --git a/libs/ui/widgets/kis_curve_widget.cpp b/libs/ui/widgets/kis_curve_widget.cpp
index 9f18242..befd7c0 100644
--- a/libs/ui/widgets/kis_curve_widget.cpp
+++ b/libs/ui/widgets/kis_curve_widget.cpp
@@ -77,7 +77,7 @@ KisCurveWidget::KisCurveWidget(QWidget *parent, Qt::WindowFlags f)
setAutoFillBackground(false);
setAttribute(Qt::WA_OpaquePaintEvent);
setMinimumSize(150, 50);
- setMaximumSize(250, 250);
+ setMaximumSize(16777215, 16777215);
d->setCurveModified();
diff --git a/plugins/paintops/colorsmudge/kis_colorsmudgeop_settings_widget.cpp b/plugins/paintops/colorsmudge/kis_colorsmudgeop_settings_widget.cpp
index 6ba0de7..6504cc3 100644
--- a/plugins/paintops/colorsmudge/kis_colorsmudgeop_settings_widget.cpp
+++ b/plugins/paintops/colorsmudge/kis_colorsmudgeop_settings_widget.cpp
@@ -63,9 +63,9 @@ KisColorSmudgeOpSettingsWidget::KisColorSmudgeOpSettingsWidget(QWidget* parent):
addPaintOpOption(new KisPressureScatterOptionWidget(), i18n("Scatter"));
addPaintOpOption(new KisOverlayModeOptionWidget(), i18n("Overlay Mode"));
addPaintOpOption(new KisCurveOptionWidget(new KisPressureGradientOption(), i18n("0%"), i18n("100%")), i18n("Gradient"));
- addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createHueOption(), KisPressureHSVOption::hueMinLabel(), KisPressureHSVOption::huemaxLabel()), i18n("Hue"));
- addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createSaturationOption(), KisPressureHSVOption::saturationMinLabel(), KisPressureHSVOption::saturationmaxLabel()), i18n("Saturation"));
- addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createValueOption(), KisPressureHSVOption::valueMinLabel(), KisPressureHSVOption::valuemaxLabel()), i18nc("HSV Value", "Value"));
+ addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createHueOption(), KisPressureHSVOption::hueMinLabel(), KisPressureHSVOption::huemaxLabel(),false,KisPressureHSVOption::hueMinToolTip(),KisPressureHSVOption::hueMaxToolTip()), i18n("Hue"));
+ addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createSaturationOption(), KisPressureHSVOption::saturationMinLabel(), KisPressureHSVOption::saturationmaxLabel(),false,KisPressureHSVOption::saturationMinToolTip(),KisPressureHSVOption::saturationMaxToolTip()), i18n("Saturation"));
+ addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createValueOption(), KisPressureHSVOption::valueMinLabel(), KisPressureHSVOption::valuemaxLabel(),false,KisPressureHSVOption::valueMinToolTip(),KisPressureHSVOption::valueMaxToolTip()), i18nc("HSV Value", "Value"));
addPaintOpOption(new KisTextureOption(), i18n("Pattern"));
addPaintOpOption(new KisCurveOptionWidget(new KisPressureTextureStrengthOption(), i18n("Weak"), i18n("Strong")), i18n("Strength"));
diff --git a/plugins/paintops/defaultpaintops/brush/kis_brushop_settings_widget.cpp b/plugins/paintops/defaultpaintops/brush/kis_brushop_settings_widget.cpp
index b0d7b31..52eb9bc 100644
--- a/plugins/paintops/defaultpaintops/brush/kis_brushop_settings_widget.cpp
+++ b/plugins/paintops/defaultpaintops/brush/kis_brushop_settings_widget.cpp
@@ -74,9 +74,9 @@ KisBrushOpSettingsWidget::KisBrushOpSettingsWidget(QWidget* parent)
addPaintOpOption(new KisColorSourceOptionWidget(), i18n("Source"));
addPaintOpOption(new KisCurveOptionWidget(new KisPressureDarkenOption(), i18n("0.0"), i18n("1.0")), i18n("Darken"));
addPaintOpOption(new KisCurveOptionWidget(new KisPressureMixOption(), i18n("Foreground"), i18n("Background")), i18n("Mix"));
- addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createHueOption(), KisPressureHSVOption::hueMinLabel(), KisPressureHSVOption::huemaxLabel()), i18n("Hue"));
- addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createSaturationOption(), KisPressureHSVOption::saturationMinLabel(), KisPressureHSVOption::saturationmaxLabel()), i18n("Saturation"));
- addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createValueOption(), KisPressureHSVOption::valueMinLabel(), KisPressureHSVOption::valuemaxLabel()), i18nc("HSV Value", "Value"));
+ addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createHueOption(), KisPressureHSVOption::hueMinLabel(), KisPressureHSVOption::huemaxLabel(),false,KisPressureHSVOption::hueMinToolTip(),KisPressureHSVOption::hueMaxToolTip()), i18n("Hue"));
+ addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createSaturationOption(), KisPressureHSVOption::saturationMinLabel(), KisPressureHSVOption::saturationmaxLabel(),false,KisPressureHSVOption::saturationMinToolTip(), KisPressureHSVOption::saturationMaxToolTip()), i18n("Saturation"));
+ addPaintOpOption(new KisCurveOptionWidget(KisPressureHSVOption::createValueOption(), KisPressureHSVOption::valueMinLabel(), KisPressureHSVOption::valuemaxLabel(),false,KisPressureHSVOption::valueMinToolTip(),KisPressureHSVOption::valueMaxToolTip()), i18nc("HSV Value", "Value"));
addPaintOpOption(new KisAirbrushOptionWidget(false), i18n("Airbrush"));
addPaintOpOption(new KisCurveOptionWidget(new KisPressureRateOption(), i18n("0%"), i18n("100%")), i18n("Rate"));
diff --git a/plugins/paintops/libpaintop/forms/wdgcurveoption.ui b/plugins/paintops/libpaintop/forms/wdgcurveoption.ui
index 0dd0a42..24a613d 100644
--- a/plugins/paintops/libpaintop/forms/wdgcurveoption.ui
+++ b/plugins/paintops/libpaintop/forms/wdgcurveoption.ui
@@ -42,6 +42,9 @@
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="spacing">
+ <number>6</number>
+ </property>
<item>
<widget class="QCheckBox" name="checkBoxUseCurve">
<property name="minimumSize">
@@ -57,10 +60,16 @@
</item>
<item>
<widget class="QPushButton" name="linearCurveButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
- <width>24</width>
- <height>24</height>
+ <width>32</width>
+ <height>32</height>
</size>
</property>
<property name="text">
@@ -76,10 +85,16 @@
</item>
<item>
<widget class="QPushButton" name="revLinearButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
- <width>24</width>
- <height>24</height>
+ <width>32</width>
+ <height>32</height>
</size>
</property>
<property name="text">
@@ -95,10 +110,16 @@
</item>
<item>
<widget class="QPushButton" name="sCurveButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
- <width>24</width>
- <height>24</height>
+ <width>32</width>
+ <height>32</height>
</size>
</property>
<property name="text">
@@ -114,10 +135,16 @@
</item>
<item>
<widget class="QPushButton" name="reverseSCurveButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
- <width>24</width>
- <height>24</height>
+ <width>32</width>
+ <height>32</height>
</size>
</property>
<property name="text">
@@ -133,10 +160,16 @@
</item>
<item>
<widget class="QPushButton" name="uCurveButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
- <width>24</width>
- <height>24</height>
+ <width>32</width>
+ <height>32</height>
</size>
</property>
<property name="text">
@@ -152,10 +185,16 @@
</item>
<item>
<widget class="QPushButton" name="revUCurveButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
- <width>24</width>
- <height>24</height>
+ <width>32</width>
+ <height>32</height>
</size>
</property>
<property name="text">
@@ -171,10 +210,16 @@
</item>
<item>
<widget class="QPushButton" name="jCurveButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
- <width>24</width>
- <height>24</height>
+ <width>32</width>
+ <height>32</height>
</size>
</property>
<property name="text">
@@ -190,10 +235,16 @@
</item>
<item>
<widget class="QPushButton" name="lCurveButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
- <width>24</width>
- <height>24</height>
+ <width>32</width>
+ <height>32</height>
</size>
</property>
<property name="text">
@@ -251,32 +302,6 @@
</item>
<item>
<layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="3">
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>2</width>
- <height>2</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="3" column="1">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>2</width>
- <height>2</height>
- </size>
- </property>
- </spacer>
- </item>
<item row="1" column="1">
<widget class="QCheckBox" name="checkBoxUseSameCurve">
<property name="text">
@@ -289,6 +314,9 @@
</item>
<item row="0" column="1">
<layout class="QGridLayout" name="gridLayout">
+ <property name="spacing">
+ <number>3</number>
+ </property>
<item row="2" column="1">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
@@ -302,6 +330,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="styleSheet">
+ <string notr="true">color:white;</string>
+ </property>
<property name="text">
<string comment="KDE::DoNotExtract">TextLabel</string>
</property>
@@ -371,6 +402,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="styleSheet">
+ <string notr="true">color:white;</string>
+ </property>
<property name="text">
<string comment="KDE::DoNotExtract">TextLabel</string>
</property>
@@ -388,6 +422,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="styleSheet">
+ <string notr="true">color:white;</string>
+ </property>
<property name="text">
<string comment="KDE::DoNotExtract">TextLabel</string>
</property>
@@ -451,6 +488,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="styleSheet">
+ <string notr="true">color:white;</string>
+ </property>
<property name="text">
<string comment="KDE::DoNotExtract">TextLabel</string>
</property>
@@ -461,15 +501,15 @@
<item row="2" column="0">
<widget class="KisCurveWidget" name="curveWidget" native="true">
<property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
- <horstretch>1</horstretch>
+ <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+ <horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
- <width>200</width>
- <height>200</height>
+ <width>0</width>
+ <height>0</height>
</size>
</property>
</widget>
diff --git a/plugins/paintops/libpaintop/kis_curve_option_widget.cpp b/plugins/paintops/libpaintop/kis_curve_option_widget.cpp
index ead1835..89dc525 100644
--- a/plugins/paintops/libpaintop/kis_curve_option_widget.cpp
+++ b/plugins/paintops/libpaintop/kis_curve_option_widget.cpp
@@ -28,7 +28,10 @@
#include "kis_curve_option.h"
#include "kis_signals_blocker.h"
#include "kis_icon_utils.h"
-
+#include <QPixmap>
+#include <QPainter>
+#include <QFont>
+#include <QFontMetrics>
inline void setLabel(QLabel* label, const KisCurveLabel& curve_label)
{
if (curve_label.icon().isNull()) {
@@ -38,8 +41,27 @@ inline void setLabel(QLabel* label, const KisCurveLabel& curve_label)
label->setPixmap(QPixmap::fromImage(curve_label.icon()));
}
}
-
-KisCurveOptionWidget::KisCurveOptionWidget(KisCurveOption* curveOption, const QString &minLabel, const QString &maxLabel, bool hideSlider)
+inline QPixmap mergeImageText( const QPixmap& pix, const QString txt )
+ {
+ QPainter p;
+
+ int strWidth = p.fontMetrics().width( txt );
+ int strHeight = p.fontMetrics().height();
+ int pixWidth = pix.width();
+ int pixHeight = pix.height();
+ QPixmap res( strWidth + 3 + pixWidth, std::max( strHeight, pixHeight ) );
+
+ res.fill(Qt::transparent);
+
+ p.begin( &res );
+ p.drawPixmap(0,0, pix );
+ p.setPen(Qt::white);
+ p.drawText( QRect( pixWidth +3, 0, strWidth, strHeight), 0, txt);
+ p.end();
+
+ return res;
+ }
+KisCurveOptionWidget::KisCurveOptionWidget(KisCurveOption* curveOption, const QString &minLabel, const QString &maxLabel, bool hideSlider, const QString &minLabel_tooltip, const QString &maxLabel_tooltip)
: KisPaintOpOption(curveOption->category(), curveOption->isChecked())
, m_widget(new QWidget)
, m_curveOptionWidget(new Ui_WdgCurveOption())
@@ -76,9 +98,33 @@ KisCurveOptionWidget::KisCurveOptionWidget(KisCurveOption* curveOption, const QS
connect(m_curveOptionWidget->uCurveButton, SIGNAL(clicked(bool)), this, SLOT(changeCurveUShape()));
connect(m_curveOptionWidget->revUCurveButton, SIGNAL(clicked(bool)), this, SLOT(changeCurveArchShape()));
-
- m_curveOptionWidget->label_ymin->setText(minLabel);
- m_curveOptionWidget->label_ymax->setText(maxLabel);
+ QPixmap pix((KisIconUtils::loadIcon("help-contents")).pixmap(15, 15));
+ m_curveOptionWidget->label_ymin->setStyleSheet("color:white;");
+ m_curveOptionWidget->label_ymax->setStyleSheet("color:white;");
+ if(minLabel_tooltip !="" || maxLabel_tooltip !=""){
+ QPixmap minL = mergeImageText(pix,minLabel);
+ QPixmap maxL = mergeImageText(pix,maxLabel);
+
+ m_curveOptionWidget->label_ymin->setPixmap(minL);
+ m_curveOptionWidget->label_ymax->setPixmap(maxL);
+ m_curveOptionWidget->label_ymin->setToolTip(minLabel_tooltip);
+ m_curveOptionWidget->label_ymax->setToolTip(maxLabel_tooltip);
+ /*m_curveOptionWidget->label_ymin->setTextFormat(Qt::RichText);
+ m_curveOptionWidget->label_ymax->setTextFormat(Qt::RichText);
+ m_curveOptionWidget->label_ymin->setText("<img src=":/help-contents.svg"> + minLabel");
+ m_curveOptionWidget->label_ymax->setText("<img src=":/help-contents.svg "> + maxLabel");
+ setText("<img src=":/myimage.png">Hello!");
+ m_curveOptionWidget->label_ymax->setStyleSheet("background-image: url(images/welcome.png);")*/
+ }
+ else{
+ QPixmap minL = mergeImageText(QPixmap(0,0),minLabel);
+ QPixmap maxL = mergeImageText(QPixmap(0,0),maxLabel);
+
+ m_curveOptionWidget->label_ymin->setPixmap(minL);
+ m_curveOptionWidget->label_ymax->setPixmap(maxL);/*
+ m_curveOptionWidget->label_ymin->setText(minLabel);
+ m_curveOptionWidget->label_ymax->setText(maxLabel);*/
+ }
// strength settings is shown as 0-100%
m_curveOptionWidget->strengthSlider->setRange(curveOption->minValue()*100, curveOption->maxValue()*100, 0);
diff --git a/plugins/paintops/libpaintop/kis_curve_option_widget.h b/plugins/paintops/libpaintop/kis_curve_option_widget.h
index eae9d1b..8b2319e 100644
--- a/plugins/paintops/libpaintop/kis_curve_option_widget.h
+++ b/plugins/paintops/libpaintop/kis_curve_option_widget.h
@@ -34,7 +34,7 @@ class PAINTOP_EXPORT KisCurveOptionWidget : public KisPaintOpOption
{
Q_OBJECT
public:
- KisCurveOptionWidget(KisCurveOption* curveOption, const QString &minLabel, const QString &maxLabel, bool hideSlider = false);
+ KisCurveOptionWidget(KisCurveOption* curveOption, const QString &minLabel, const QString &maxLabel, bool hideSlider = false, const QString &minLabel_tooltip="", const QString &maxLabel_tooltip="");
~KisCurveOptionWidget() override;
void writeOptionSetting(KisPropertiesConfigurationSP setting) const override;
diff --git a/plugins/paintops/libpaintop/kis_pressure_hsv_option.cpp b/plugins/paintops/libpaintop/kis_pressure_hsv_option.cpp
index d6a7f74..6538854 100644
--- a/plugins/paintops/libpaintop/kis_pressure_hsv_option.cpp
+++ b/plugins/paintops/libpaintop/kis_pressure_hsv_option.cpp
@@ -26,24 +26,34 @@ KisPressureHSVOption* KisPressureHSVOption::createHueOption() {
QString KisPressureHSVOption::hueMinLabel()
{
- // xgettext: no-c-format
- QString activeColorMsg = i18n("(0° is active color)");
- QString br("<br />");
QString fullPercent = i18n("+180°");
QString zeroPercent = i18n("-180°");
- return QString(zeroPercent + br + i18n("CCW hue") + br + activeColorMsg);
+ return QString(zeroPercent);
}
-QString KisPressureHSVOption::huemaxLabel()
+QString KisPressureHSVOption::hueMinToolTip()
{
// xgettext: no-c-format
QString activeColorMsg = i18n("(0° is active color)");
QString br("<br />");
+ return QString(i18n("CCW hue") + br + activeColorMsg);
+}
+
+QString KisPressureHSVOption::huemaxLabel()
+{
QString fullPercent = i18n("+180°");
QString zeroPercent = i18n("-180°");
- return QString(fullPercent + br + i18n("CW hue"));
+ return QString(fullPercent);
+}
+
+QString KisPressureHSVOption::hueMaxToolTip()
+{
+ // xgettext: no-c-format
+ QString activeColorMsg = i18n("(0° is active color)");
+ QString br("<br />");
+ return QString(i18n("CW hue") + br + activeColorMsg);
}
KisPressureHSVOption* KisPressureHSVOption::createSaturationOption() {
@@ -52,25 +62,36 @@ KisPressureHSVOption* KisPressureHSVOption::createSaturationOption() {
QString KisPressureHSVOption::saturationMinLabel()
{
- // xgettext: no-c-format
- QString activeColorMsg = i18n("(50% is active color)");
- QString br("<br />");
QString fullPercent = i18n("+100%");
QString zeroPercent = i18n("-100%");
- return QString(zeroPercent + br + i18n("Less saturation ") + br + activeColorMsg);
+ return QString(zeroPercent);
}
-QString KisPressureHSVOption::saturationmaxLabel()
+QString KisPressureHSVOption::saturationMinToolTip()
{
// xgettext: no-c-format
QString activeColorMsg = i18n("(50% is active color)");
QString br("<br />");
+
+ return QString(i18n("Less saturation ") + br + activeColorMsg);
+}
+
+QString KisPressureHSVOption::saturationmaxLabel()
+{
QString fullPercent = i18n("+100%");
QString zeroPercent = i18n("-100%");
- return QString(fullPercent + br + i18n("More saturation"));
+ return QString(fullPercent);
+}
+
+QString KisPressureHSVOption::saturationMaxToolTip()
+{
+ // xgettext: no-c-format
+ QString activeColorMsg = i18n("(50% is active color)");
+ QString br("<br />");
+ return QString(i18n("More saturation") + br + activeColorMsg);
}
KisPressureHSVOption* KisPressureHSVOption::createValueOption() {
@@ -79,29 +100,40 @@ KisPressureHSVOption* KisPressureHSVOption::createValueOption() {
QString KisPressureHSVOption::valueMinLabel()
{
- // xgettext: no-c-format
- QString activeColorMsg = i18n("(50% is active color)");
- QString br("<br />");
QString fullPercent = i18n("+100%");
QString zeroPercent = i18n("-100%");
- return QString(zeroPercent + br + i18n("Lower value ") + br + activeColorMsg);
+ return QString(zeroPercent);// + br + i18n("Lower value ") + br + activeColorMsg);
}
-QString KisPressureHSVOption::valuemaxLabel()
+QString KisPressureHSVOption::valueMinToolTip()
{
// xgettext: no-c-format
QString activeColorMsg = i18n("(50% is active color)");
QString br("<br />");
+
+ return QString(i18n("Lower value ") + br + activeColorMsg);
+}
+
+QString KisPressureHSVOption::valuemaxLabel()
+{
QString fullPercent = i18n("+100%");
QString zeroPercent = i18n("-100%");
- return QString(fullPercent + br + i18n("Higher value"));
+ return QString(fullPercent);// + br + i18n("Higher value"));
}
+QString KisPressureHSVOption::valueMaxToolTip()
+{
+ // xgettext: no-c-format
+ QString activeColorMsg = i18n("(50% is active color)");
+ QString br("<br />");
+ return QString(i18n("Higher value")+ br + activeColorMsg);
+}
+
struct KisPressureHSVOption::Private
{
QString parameterName;
diff --git a/plugins/paintops/libpaintop/kis_pressure_hsv_option.h b/plugins/paintops/libpaintop/kis_pressure_hsv_option.h
index e586c95..12d1546 100644
--- a/plugins/paintops/libpaintop/kis_pressure_hsv_option.h
+++ b/plugins/paintops/libpaintop/kis_pressure_hsv_option.h
@@ -36,15 +36,21 @@ class PAINTOP_EXPORT KisPressureHSVOption : public KisCurveOption
public:
static KisPressureHSVOption* createHueOption();
static QString hueMinLabel();
+ static QString hueMinToolTip();
static QString huemaxLabel();
+ static QString hueMaxToolTip();
static KisPressureHSVOption* createSaturationOption();
static QString saturationMinLabel();
+ static QString saturationMinToolTip();
static QString saturationmaxLabel();
+ static QString saturationMaxToolTip();
static KisPressureHSVOption* createValueOption();
static QString valueMinLabel();
+ static QString valueMinToolTip();
static QString valuemaxLabel();
+ static QString valueMaxToolTip();
public:
KisPressureHSVOption(const QString& parameterName);
dkazakov edited the content of this paste. (Show Details)Mar 25 2019, 7:10 PM
dkazakov changed the title of this paste from untitled to Masterwork From Distant Lands.