tdeui
KColorCells Class Reference
A table of editable color cells. More...
#include <kcolordialog.h>
Inheritance diagram for KColorCells:

Signals | |
void | colorSelected (int col) |
void | colorDoubleClicked (int col) |
Public Member Functions | |
KColorCells (TQWidget *parent, int rows, int cols) | |
void | setColor (int colNum, const TQColor &col) |
TQColor | color (int indx) const |
int | numCells () const |
void | setShading (bool _shade) |
void | setAcceptDrags (bool _acceptDrags) |
int | getSelected () const |
Protected Member Functions | |
virtual void | paintCell (TQPainter *painter, int row, int col) |
virtual void | resizeEvent (TQResizeEvent *) |
virtual void | mouseReleaseEvent (TQMouseEvent *) |
virtual void | mousePressEvent (TQMouseEvent *) |
virtual void | mouseMoveEvent (TQMouseEvent *) |
virtual void | dragEnterEvent (TQDragEnterEvent *) |
virtual void | dropEvent (TQDropEvent *) |
virtual void | mouseDoubleClickEvent (TQMouseEvent *) |
int | posToCell (const TQPoint &pos, bool ignoreBorders=false) |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
TQColor * | colors |
bool | inMouse |
TQPoint | mPos |
int | selected |
bool | shade |
bool | acceptDrags |
Detailed Description
A table of editable color cells.
Definition at line 253 of file kcolordialog.h.
The documentation for this class was generated from the following files: