Changeset View
Changeset View
Standalone View
Standalone View
plugins/dockers/advancedcolorselector/kis_shade_selector_line_editor.h
Show All 23 Lines | |||||
24 | #include <QHBoxLayout> | 24 | #include <QHBoxLayout> | ||
25 | #include <QDoubleSpinBox> | 25 | #include <QDoubleSpinBox> | ||
26 | #include <QLabel> | 26 | #include <QLabel> | ||
27 | 27 | | |||
28 | #include <klocalizedstring.h> | 28 | #include <klocalizedstring.h> | ||
29 | 29 | | |||
30 | #include "kis_shade_selector_line.h" | 30 | #include "kis_shade_selector_line.h" | ||
31 | 31 | | |||
32 | class KisDoubleParseSpinBox; | ||||
32 | 33 | | |||
33 | class KisShadeSelectorLineEditor : public KisShadeSelectorLineBase { | 34 | class KisShadeSelectorLineEditor : public KisShadeSelectorLineBase { | ||
34 | Q_OBJECT | 35 | Q_OBJECT | ||
35 | public: | 36 | public: | ||
36 | KisShadeSelectorLineEditor(QWidget* parent); | 37 | KisShadeSelectorLineEditor(QWidget* parent); | ||
37 | 38 | | |||
38 | QString toString() const; | 39 | QString toString() const; | ||
39 | void fromString(const QString &string); | 40 | void fromString(const QString &string); | ||
40 | 41 | | |||
41 | private Q_SLOTS: | 42 | private Q_SLOTS: | ||
42 | void valueChanged(); | 43 | void valueChanged(); | ||
43 | 44 | | |||
44 | Q_SIGNALS: | 45 | Q_SIGNALS: | ||
45 | void requestActivateLine(QWidget *widget); | 46 | void requestActivateLine(QWidget *widget); | ||
46 | 47 | | |||
47 | private: | 48 | private: | ||
48 | QDoubleSpinBox* m_hueDelta; | 49 | KisDoubleParseSpinBox* m_hueDelta; | ||
49 | QDoubleSpinBox* m_saturationDelta; | 50 | KisDoubleParseSpinBox* m_saturationDelta; | ||
50 | QDoubleSpinBox* m_valueDelta; | 51 | KisDoubleParseSpinBox* m_valueDelta; | ||
51 | QDoubleSpinBox* m_hueShift; | 52 | KisDoubleParseSpinBox* m_hueShift; | ||
52 | QDoubleSpinBox* m_saturationShift; | 53 | KisDoubleParseSpinBox* m_saturationShift; | ||
53 | QDoubleSpinBox* m_valueShift; | 54 | KisDoubleParseSpinBox* m_valueShift; | ||
54 | }; | 55 | }; | ||
55 | 56 | | |||
56 | #endif /* __KIS_SHADE_SELECTOR_LINE_EDITOR_H */ | 57 | #endif /* __KIS_SHADE_SELECTOR_LINE_EDITOR_H */ |