Changeset View
Changeset View
Standalone View
Standalone View
plugins/dockers/advancedcolorselector/kis_color_selector_container.h
Show All 21 Lines | |||||
22 | #include <QPointer> | 22 | #include <QPointer> | ||
23 | #include <kis_canvas2.h> | 23 | #include <kis_canvas2.h> | ||
24 | 24 | | |||
25 | class KisColorSelector; | 25 | class KisColorSelector; | ||
26 | class KisMyPaintShadeSelector; | 26 | class KisMyPaintShadeSelector; | ||
27 | class KisMinimalShadeSelector; | 27 | class KisMinimalShadeSelector; | ||
28 | class QBoxLayout; | 28 | class QBoxLayout; | ||
29 | class QAction; | 29 | class QAction; | ||
30 | class KisGamutMaskToolbar; | ||||
30 | 31 | | |||
31 | class KisColorSelectorContainer : public QWidget | 32 | class KisColorSelectorContainer : public QWidget | ||
32 | { | 33 | { | ||
33 | Q_OBJECT | 34 | Q_OBJECT | ||
34 | public: | 35 | public: | ||
35 | explicit KisColorSelectorContainer(QWidget *parent = 0); | 36 | explicit KisColorSelectorContainer(QWidget *parent = 0); | ||
36 | void setCanvas(KisCanvas2* canvas); | 37 | void setCanvas(KisCanvas2* canvas); | ||
37 | void unsetCanvas(); | 38 | void unsetCanvas(); | ||
Show All 15 Lines | |||||
53 | protected: | 54 | protected: | ||
54 | void resizeEvent(QResizeEvent *) override; | 55 | void resizeEvent(QResizeEvent *) override; | ||
55 | 56 | | |||
56 | private: | 57 | private: | ||
57 | KisColorSelector* m_colorSelector; | 58 | KisColorSelector* m_colorSelector; | ||
58 | KisMyPaintShadeSelector* m_myPaintShadeSelector; | 59 | KisMyPaintShadeSelector* m_myPaintShadeSelector; | ||
59 | KisMinimalShadeSelector* m_minimalShadeSelector; | 60 | KisMinimalShadeSelector* m_minimalShadeSelector; | ||
60 | QWidget* m_shadeSelector; | 61 | QWidget* m_shadeSelector; | ||
62 | KisGamutMaskToolbar* m_gamutMaskToolbar; | ||||
61 | 63 | | |||
62 | int m_onDockerResizeSetting; | 64 | int m_onDockerResizeSetting; | ||
63 | 65 | | |||
64 | QBoxLayout* m_widgetLayout; | 66 | QBoxLayout* m_widgetLayout; | ||
65 | 67 | | |||
66 | QAction * m_colorSelAction; | 68 | QAction * m_colorSelAction; | ||
67 | QAction * m_mypaintAction; | 69 | QAction * m_mypaintAction; | ||
68 | QAction * m_minimalAction; | 70 | QAction * m_minimalAction; | ||
69 | 71 | | |||
70 | QPointer<KisCanvas2> m_canvas; | 72 | QPointer<KisCanvas2> m_canvas; | ||
71 | }; | 73 | }; | ||
72 | 74 | | |||
73 | #endif // KIS_COLOR_SELECTOR_CONTAINER_H | 75 | #endif // KIS_COLOR_SELECTOR_CONTAINER_H |