Differential D20680 Diff 56579 plugins/dockers/advancedcolorselector/kis_shade_selector_line_editor.h
Changeset View
Changeset View
Standalone View
Standalone View
plugins/dockers/advancedcolorselector/kis_shade_selector_line_editor.h
Context not available. | |||||
34 | class KisShadeSelectorLineEditor : public KisShadeSelectorLineBase { | 34 | class KisShadeSelectorLineEditor : public KisShadeSelectorLineBase { | ||
---|---|---|---|---|---|
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | public: | 36 | public: | ||
37 | KisShadeSelectorLineEditor(QWidget* parent); | 37 | KisShadeSelectorLineEditor(QWidget* parent, KisShadeSelectorLine *preview); | ||
38 | 38 | | |||
39 | QString toString() const override; | 39 | QString toString() const override; | ||
40 | void fromString(const QString &string) override; | 40 | void fromString(const QString &string) override; | ||
41 | 41 | | |||
42 | void mousePressEvent(QMouseEvent* e) override; | ||||
43 | | ||||
44 | private: | ||||
45 | void updatePreview(); | ||||
46 | | ||||
42 | private Q_SLOTS: | 47 | private Q_SLOTS: | ||
43 | void valueChanged(); | 48 | void valueChanged(); | ||
44 | 49 | | |||
Context not available. | |||||
46 | void requestActivateLine(QWidget *widget); | 51 | void requestActivateLine(QWidget *widget); | ||
47 | 52 | | |||
48 | private: | 53 | private: | ||
54 | KisShadeSelectorLine* m_line_preview; | ||||
55 | | ||||
49 | KisDoubleParseSpinBox* m_hueDelta; | 56 | KisDoubleParseSpinBox* m_hueDelta; | ||
50 | KisDoubleParseSpinBox* m_saturationDelta; | 57 | KisDoubleParseSpinBox* m_saturationDelta; | ||
51 | KisDoubleParseSpinBox* m_valueDelta; | 58 | KisDoubleParseSpinBox* m_valueDelta; | ||
Context not available. |