krita
KisPaletteWidget Class Reference
#include <kis_palette_widget.h>
Detailed Description
A color palette in table form.This is copied, mostly, from KPaletteTable in KColorDialog, original
- Author:
- was Waldo Bastian <bastian@kde.org> -- much has changed, though, to work with KisPalettes and the resource server.
Definition at line 39 of file kis_palette_widget.h.
Public Slots | |
void | setPalette (const QString &paletteName) |
void | slotAddPalette (KisResource *palette) |
Signals | |
void | colorSelected (const KisColor &) |
void | colorSelected (const QColor &) |
void | colorDoubleClicked (const KisColor &, const QString &) |
Public Member Functions | |
KisPaletteWidget (QWidget *parent, int minWidth=210, int cols=16) | |
virtual | ~KisPaletteWidget () |
QString | palette () const |
KisPaletteEntry | currentEntry () const |
Protected Slots | |
void | slotSetPalette (const QString &_paletteName) |
Protected Member Functions | |
void | readNamedColor (void) |
Protected Attributes | |
KisPaletteView * | m_view |
QDict< KisPalette > | m_namedPaletteMap |
KisPalette * | m_currentPalette |
QComboBox * | combo |
QScrollView * | sv |
int | mMinWidth |
int | mCols |
bool | init |
The documentation for this class was generated from the following files: