29 SupportsCommonCurve = 0x1,
30 SupportsCurveMode = 0x2,
31 UseFloatingPointStrength = 0x4,
41 lager::reader<bool> enabledLink = lager::make_constant(
true),
42 std::optional<lager::reader<std::tuple<qreal, qreal>>> strengthRangeReader = std::nullopt);
46 const QString &curveMinLabel,
const QString &curveMaxLabel,
47 lager::reader<bool> enabledLink = lager::make_constant(
true),
48 std::optional<lager::reader<std::tuple<qreal, qreal>>> strengthRangeReader = std::nullopt);
52 const QString &curveMinLabel,
const QString &curveMaxLabel,
53 int curveMinValue,
int curveMaxValue,
const QString &curveValueSuffix,
54 lager::reader<bool> enabledLink = lager::make_constant(
true),
55 std::optional<lager::reader<std::tuple<qreal, qreal>>> strengthRangeReader = std::nullopt);
59 const QString &curveMinLabel,
const QString &curveMaxLabel,
60 int curveMinValue,
int curveMaxValue,
const QString &curveValueSuffix,
61 const QString &strengthPrefix,
const QString &strengthSuffix,
62 qreal strengthDisplayMultiplier,
63 lager::reader<bool> enabledLink = lager::make_constant(
true),
64 std::optional<lager::reader<std::tuple<qreal, qreal>>> strengthRangeReader = std::nullopt);
69 const QString &strengthPrefix,
const QString &strengthSuffix,
70 qreal strengthDisplayMultiplier,
71 lager::reader<bool> enabledLink,
72 std::optional<lager::reader<std::tuple<qreal, qreal>>> strengthRangeReader,
88 lager::cursor<qreal> strengthValueDenorm();
90 void setCurveWidgetsEnabled(
bool value);
91 QWidget* curveWidget();
94 void updateThemedIcons();
98 void changeCurveLinear();
99 void changeCurveReverseLinear();
100 void changeCurveSShape();
101 void changeCurveReverseSShape();
102 void changeCurveJShape();
103 void changeCurveLShape();
104 void changeCurveUShape();
105 void changeCurveArchShape();
109 QWidget* m_widget {
nullptr};
110 Ui_WdgCurveOption2* m_curveOptionWidget {
nullptr};
113 QComboBox* m_curveMode {
nullptr};
115 const QScopedPointer<Private>
m_d;
Q_DECLARE_FLAGS(KisUpdaterContextSnapshotEx, KisUpdaterContextSnapshotExTag)