kdeui
KPaletteTable Class Reference
A color palette in table form. More...
#include <kcolordialog.h>

| Public Slots | |
| void | setPalette (const QString &paletteName) | 
| Signals | |
| void | colorDoubleClicked (const QColor &, const QString &) | 
| void | colorSelected (const QColor &, const QString &) | 
| Public Member Functions | |
| void | addToCustomColors (const QColor &) | 
| void | addToRecentColors (const QColor &) | 
| KPaletteTable (QWidget *parent, int minWidth=210, int cols=16) | |
| QString | palette () const | 
| ~KPaletteTable () | |
| Protected Slots | |
| void | slotColorCellDoubleClicked (int) | 
| void | slotColorCellSelected (int) | 
| void | slotColorTextSelected (const QString &colorText) | 
| void | slotSetPalette (const QString &_paletteName) | 
| void | slotShowNamedColorReadError (void) | 
| Protected Member Functions | |
| void | readNamedColor (void) | 
| virtual void | virtual_hook (int id, void *data) | 
| Protected Attributes | |
| KColorCells * | cells | 
| QComboBox * | combo | 
| QString | i18n_customColors | 
| QString | i18n_namedColors | 
| QString | i18n_recentColors | 
| int | mCols | 
| int | mMinWidth | 
| KListBox * | mNamedColorList | 
| KPalette * | mPalette | 
| QScrollView * | sv | 
Detailed Description
A color palette in table form.
Definition at line 198 of file kcolordialog.h.
Constructor & Destructor Documentation
| KPaletteTable::KPaletteTable | ( | QWidget * | parent, | |
| int | minWidth = 210, | |||
| int | cols = 16 | |||
| ) | 
Definition at line 558 of file kcolordialog.cpp.
| KPaletteTable::~KPaletteTable | ( | ) | 
Definition at line 605 of file kcolordialog.cpp.
Member Function Documentation
| void KPaletteTable::addToCustomColors | ( | const QColor & | color | ) | 
Definition at line 872 of file kcolordialog.cpp.
| void KPaletteTable::addToRecentColors | ( | const QColor & | color | ) | 
Definition at line 883 of file kcolordialog.cpp.
| QString KPaletteTable::palette | ( | ) | const | 
| void KPaletteTable::readNamedColor | ( | void | ) |  [protected] | 
Definition at line 641 of file kcolordialog.cpp.
| void KPaletteTable::setPalette | ( | const QString & | paletteName | ) |  [slot] | 
Definition at line 760 of file kcolordialog.cpp.
| void KPaletteTable::slotColorCellDoubleClicked | ( | int | col | ) |  [protected, slot] | 
Definition at line 856 of file kcolordialog.cpp.
| void KPaletteTable::slotColorCellSelected | ( | int | col | ) |  [protected, slot] | 
Definition at line 848 of file kcolordialog.cpp.
| void KPaletteTable::slotColorTextSelected | ( | const QString & | colorText | ) |  [protected, slot] | 
Definition at line 865 of file kcolordialog.cpp.
| void KPaletteTable::slotSetPalette | ( | const QString & | _paletteName | ) |  [protected, slot] | 
Definition at line 743 of file kcolordialog.cpp.
| void KPaletteTable::slotShowNamedColorReadError | ( | void | ) |  [protected, slot] | 
Definition at line 713 of file kcolordialog.cpp.
| void KPaletteTable::virtual_hook | ( | int | id, | |
| void * | data | |||
| ) |  [protected, virtual] | 
Definition at line 1602 of file kcolordialog.cpp.
Member Data Documentation
| KColorCells* KPaletteTable::cells  [protected] | 
Definition at line 230 of file kcolordialog.h.
| QComboBox* KPaletteTable::combo  [protected] | 
Definition at line 229 of file kcolordialog.h.
| QString KPaletteTable::i18n_customColors  [protected] | 
| QString KPaletteTable::i18n_namedColors  [protected] | 
| QString KPaletteTable::i18n_recentColors  [protected] | 
| int KPaletteTable::mCols  [protected] | 
Definition at line 235 of file kcolordialog.h.
| int KPaletteTable::mMinWidth  [protected] | 
Definition at line 234 of file kcolordialog.h.
| KListBox* KPaletteTable::mNamedColorList  [protected] | 
Definition at line 232 of file kcolordialog.h.
| KPalette* KPaletteTable::mPalette  [protected] | 
Definition at line 233 of file kcolordialog.h.
| QScrollView* KPaletteTable::sv  [protected] | 
Definition at line 231 of file kcolordialog.h.
The documentation for this class was generated from the following files:
 KDE 3.5 API Reference
    KDE 3.5 API Reference