PyKDE - Python Bindings for KDE
class KColorCells
Table of contents
Modules
tdeui Classes
All Classes
Module
tdeui
Class
KColorCells
Inherits
TQGridView
methods
KColorCells
(parent, rows, cols)
returns
a KColorCells instance
Argument
Type
Default
parent
TQWidget
rows
int
cols
int
color
(indx)
returns
(TQColor)
Argument
Type
Default
indx
int
colorDoubleClicked
(col)
returns
nothing
Argument
Type
Default
col
int
colorSelected
(col)
returns
nothing
Argument
Type
Default
col
int
dragEnterEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQDragEnterEvent
dropEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQDropEvent
getSelected
()
returns
(int)
mouseDoubleClickEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQMouseEvent
mouseMoveEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQMouseEvent
mousePressEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQMouseEvent
mouseReleaseEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQMouseEvent
numCells
()
returns
(int)
paintCell
(painter, row, col)
returns
nothing
Argument
Type
Default
painter
TQPainter
row
int
col
int
posToCell
(pos, ignoreBorders = 0)
returns
(int)
Argument
Type
Default
pos
TQPoint
ignoreBorders
bool
0
resizeEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQResizeEvent
setAcceptDrags
(_acceptDrags)
returns
nothing
Argument
Type
Default
_acceptDrags
bool
setColor
(colNum, col)
returns
nothing
Argument
Type
Default
colNum
int
col
TQColor
setShading
(_shade)
returns
nothing
Argument
Type
Default
_shade
bool