Changeset View
Changeset View
Standalone View
Standalone View
plugins/dockers/gamutmask/KisGamutMaskChooser.h
- This file was added.
1 | #ifndef KISGAMUTMASKCHOOSER_H | ||||
---|---|---|---|---|---|
2 | #define KISGAMUTMASKCHOOSER_H | ||||
3 | | ||||
4 | #include <QWidget> | ||||
5 | | ||||
6 | class KoResourceItemChooser; | ||||
7 | class KoResource; | ||||
8 | class KoGamutMask; | ||||
9 | | ||||
10 | class KisGamutMaskChooser : public QWidget | ||||
11 | { | ||||
12 | Q_OBJECT | ||||
13 | public: | ||||
14 | explicit KisGamutMaskChooser(QWidget *parent = nullptr); | ||||
15 | ~KisGamutMaskChooser() override; | ||||
16 | | ||||
17 | Q_SIGNALS: | ||||
18 | void sigGamutMaskSelected(KoGamutMask* mask); | ||||
19 | | ||||
20 | private Q_SLOTS: | ||||
21 | void resourceSelected(KoResource* resource); | ||||
22 | | ||||
23 | private: | ||||
24 | KoResourceItemChooser* m_itemChooser; | ||||
25 | }; | ||||
26 | | ||||
27 | #endif // KISGAMUTMASKCHOOSER_H |