krita

KisPaletteWidget Class Reference

#include <kis_palette_widget.h>

Inherits QWidget.

List of all members.


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)
QString palette () const
KisPaletteEntry currentEntry () const

Protected Slots

void slotSetPalette (const QString &_paletteName)

Protected Member Functions

void readNamedColor (void)

Protected Attributes

KisPaletteViewm_view
QDict< KisPalettem_namedPaletteMap
KisPalettem_currentPalette
QComboBox * combo
QScrollView * sv
int mMinWidth
int mCols
bool init

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys