19#ifndef __KIS_PALETTE_WIDGET_H__
20#define __KIS_PALETTE_WIDGET_H__
23#include "kis_palette_view.h"
39class KisPaletteWidget : public TQWidget
44 KisPaletteWidget( TQWidget *parent, int minWidth=210, int cols = 16);
45 virtual ~KisPaletteWidget();
47 TQString palette() const;
48 KisPaletteEntry currentEntry() const { return m_view->currentEntry(); }
51 void setPalette( const TQString &paletteName);
54 void colorSelected( const KisColor &);
55 void colorSelected( const TQColor&);
56 void colorDoubleClicked( const KisColor &, const TQString &);
59 void slotSetPalette( const TQString &_paletteName );
66 void readNamedColor( void );
70 TQDict<KisPalette> m_namedPaletteMap;
A KisColor describes a color in a certain colorspace.
A scrolling view that lists a single KisPalette.
Open Gimp, Photoshop or RIFF palette files.
The KisResource class provides a representation of Chalk image resources.
|