class KColorCells
A table of editable colour cells.
More...
Definition
#include <
kcolordlg.h
>
Inherits
QTableView
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index
Public Methods
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
()
Signals
void
colorSelected
( int col )
Protected Methods
virtual void
paintCell
( QPainter *painter, int row, int col )
virtual void
resizeEvent
( QResizeEvent * )
virtual void
mouseReleaseEvent
( QMouseEvent * )
virtual void
mousePressEvent
( QMouseEvent * )
virtual void
mouseMoveEvent
( QMouseEvent * )
virtual void
dragEnterEvent
( QDragEnterEvent *)
virtual void
dropEvent
( QDropEvent *)
int
posToCell
(const QPoint &pos, bool ignoreBorders=false)
Protected Members
QColor *
colors
bool
inMouse
QPoint
mPos
int
selected
bool
shade
bool
acceptDrags
Detailed Description
A table of editable colour cells.
Version
: $Id: kcolordlg.h,v 1.20 2000/02/05 23:48:35 espen Exp $
Author
: Martin Jones <mjones@kde.org>
Generated
: root@tantive.terraplex.com on Sun Feb 27 17:39:25 2000, using kdoc 2.0a33.