class KColorCells
A table of editable colour cells.
More...
Definition
#include <
kcolordlg.h
>
Inherits
QTableView
(qt)
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.24 2000/03/14 22:01:04 granroth Exp $
Author
: Martin Jones <mjones@kde.org>
Generated
: dfaure@faure on Sun Mar 26 14:24:24 2000, using kdoc 2.0a35.