9#include <klocalizedstring.h>
23 QWidget *page =
new QWidget(
this);
24 QVBoxLayout *layout =
new QVBoxLayout(page);
34 connect(
this, SIGNAL(dockLocationChanged(Qt::DockWidgetArea)),
37 setWindowTitle(i18n(
"Small Color Selector"));
42 setEnabled(canvas != 0);
45 m_canvas->disconnectCanvasObserver(
this);
65 m_canvas->resourceManager()->setForegroundColor(c);
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
KisDisplayColorConverter displayColorConverter
void colorChangedProxy(const KoColor &)
void setCanvas(KoCanvasBase *canvas) override
reimplemented from KoCanvasObserverBase
KisSmallColorWidget * m_smallColorWidget
QPointer< KoCanvasBase > m_canvas
void canvasResourceChanged(int, const QVariant &)
@ ForegroundColor
The active foreground color selected for this canvas.
static KoColorSpaceRegistry * instance()