KritaWidgets
KoColorSetWidget.cpp
Go to the documentation of this file.
46 connect(recentPatches[numRecents], SIGNAL(triggered(KoColorPatch*)), thePublic, SLOT(slotPatchTriggered(KoColorPatch*)));
112 connect(d->paletteChooser, SIGNAL(sigPaletteSelected(KoColorSetSP)), SLOT(slotPaletteChoosen(KoColorSetSP)));
113 connect(d->paletteView, SIGNAL(sigColorSelected(KoColor)), SLOT(slotColorSelectedByPalette(KoColor)));
114 connect(d->colorNameCmb, SIGNAL(sigColorSelected(KoColor)), SLOT(slotNameListSelection(KoColor)));
143 void KoColorSetWidget::setDisplayRenderer(const KoColorDisplayRendererInterface *displayRenderer)
virtual bool event(QEvent *e)
KoColorSetWidget(QWidget *parent=0)
Constructor for the widget, where color is initially blackpoint of sRGB.
Definition: KoColorSetWidget.cpp:69
virtual void resizeEvent(QResizeEvent *event)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: kis_palette_view.h:27
void setColorSet(KoColorSetSP colorSet)
Sets the color set that this widget shows.
Definition: KoColorSetWidget.cpp:129
void colorChanged(const KoColor &color, bool final)
Emitted every time the color changes (by calling setColor() or by user interaction.
The KisPaletteModel class This, together with KisPaletteView and KisPaletteDelegate forms a mvc way t...
Definition: KisPaletteModel.h:28
const KoColorDisplayRendererInterface * displayRenderer
Definition: KoColorSetWidget_p.h:59
The KisPaletteComboBox class A combobox used with KisPaletteView.
Definition: KisPaletteComboBox.h:28
Definition: KisPaletteChooser.h:24
void resizeEvent(QResizeEvent *event) override
reimplemented from QFrame
Definition: KoColorSetWidget.cpp:155
void widgetSizeChanged(const QSize &size)
Emitted every time the size of this widget changes because of new colorset with different number of c...
void setDisplayRenderer(const KoColorDisplayRendererInterface *displayRenderer)
setDisplayRenderer Set the display renderer of this object.
Definition: KoColorSetWidget.cpp:143
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:44:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:44:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.