class KColorCells

A table of editable colour cells. More...

Definition#include <kcolordialog.h>
InheritsQTableView
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods

Protected Members


Detailed Description

A table of editable colour cells.

 KColorCells ( QWidget *parent, int rows, int cols )

KColorCells ()

void  setColor ( int colNum, const QColor &col )

QColor  color ( int indx )

int  numCells ()

void  setShading (bool _shade)

void  setAcceptDrags (bool _acceptDrags)

int  getSelected ()

void  colorSelected ( int col )

[signal]

void  paintCell ( QPainter *painter, int row, int col )

[protected virtual]

void  resizeEvent ( QResizeEvent * )

[protected virtual]

void  mouseReleaseEvent ( QMouseEvent * )

[protected virtual]

void  mousePressEvent ( QMouseEvent * )

[protected virtual]

void  mouseMoveEvent ( QMouseEvent * )

[protected virtual]

void  dragEnterEvent ( QDragEnterEvent *)

[protected virtual]

void  dropEvent ( QDropEvent *)

[protected virtual]

int  posToCell (const QPoint &pos, bool ignoreBorders=false)

[protected]

QColor * colors

[protected]

bool inMouse

[protected]

QPoint mPos

[protected]

int selected

[protected]

bool shade

[protected]

bool acceptDrags

[protected]