Changeset View
Changeset View
Standalone View
Standalone View
libs/widgets/KoColorSetWidget.h
Context not available. | |||||
24 | #include <QWidgetAction> | 24 | #include <QWidgetAction> | ||
---|---|---|---|---|---|
25 | #include <QFrame> | 25 | #include <QFrame> | ||
26 | 26 | | |||
27 | #include "kritawidgets_export.h" | 27 | #include <KisSwatch.h> | ||
28 | #include <KoColorDisplayRendererInterface.h> | 28 | #include <KoColorDisplayRendererInterface.h> | ||
29 | 29 | | |||
30 | #include "kritawidgets_export.h" | ||||
31 | | ||||
30 | class KoColor; | 32 | class KoColor; | ||
31 | class KoColorSet; | 33 | class KoColorSet; | ||
34 | class KoColorPatch; | ||||
32 | 35 | | |||
33 | /** | 36 | /** | ||
34 | * @short A colormanaged widget for choosing a color from a colorset | 37 | * @short A colormanaged widget for choosing a color from a colorset | ||
Context not available. | |||||
95 | */ | 98 | */ | ||
96 | void widgetSizeChanged(const QSize &size); | 99 | void widgetSizeChanged(const QSize &size); | ||
97 | 100 | | |||
98 | private: | 101 | private Q_SLOTS: | ||
99 | Q_PRIVATE_SLOT(d, void colorTriggered(KoColorPatch *)) | 102 | /** | ||
100 | Q_PRIVATE_SLOT(d, void addRemoveColors()) | 103 | * @brief slotPatchTriggered | ||
101 | Q_PRIVATE_SLOT(d, void setColorFromString(QString s)) | 104 | * Triggered when a recent patch is triggered | ||
105 | */ | ||||
106 | void slotPatchTriggered(KoColorPatch *); | ||||
107 | /** | ||||
108 | * @brief slotEntrySelected | ||||
109 | * Triggered when a color is choose from the palette view | ||||
110 | */ | ||||
111 | void slotColorSelectedByPalette(const KoColor &color); | ||||
112 | void slotPaletteChoosen(KoColorSet *); | ||||
113 | void slotNameListSelection(const KoColor &); | ||||
102 | 114 | | |||
115 | private: | ||||
103 | class KoColorSetWidgetPrivate; | 116 | class KoColorSetWidgetPrivate; | ||
104 | KoColorSetWidgetPrivate * const d; | 117 | KoColorSetWidgetPrivate * const d; | ||
105 | }; | 118 | }; | ||
Context not available. |