• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

KPaletteTable Class Reference

A color palette in table form. More...

#include <kcolordialog.h>

Inheritance diagram for KPaletteTable:

Inheritance graph
[legend]

List of all members.


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.

Author:
Waldo Bastian <bastian@kde.org>

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.

void KPaletteTable::colorDoubleClicked ( const QColor &  ,
const QString &   
) [signal]

void KPaletteTable::colorSelected ( const QColor &  ,
const QString &   
) [signal]

QString KPaletteTable::palette (  )  const

Reimplemented from QWidget.

Definition at line 612 of file kcolordialog.cpp.

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]

Deprecated:

Definition at line 225 of file kcolordialog.h.

QString KPaletteTable::i18n_namedColors [protected]

### KDE4: remove

Definition at line 228 of file kcolordialog.h.

QString KPaletteTable::i18n_recentColors [protected]

### KDE4: remove

Deprecated:

Definition at line 227 of file kcolordialog.h.

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:
  • kcolordialog.h
  • kcolordialog.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal