org.kde.koala

Class KColorCells

public class KColorCells extends QGridView

A table of editable color cells. See KColorCellsSignals for signals emitted by KColorCells

Author: Martin Jones

UNKNOWN: A table of editable color cells.

Constructor Summary
protected KColorCells(Class dummy)
KColorCells(QWidget parent, int rows, int cols)
Method Summary
StringclassName()
QColorcolor(int indx)
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voiddragEnterEvent(QDragEnterEvent arg1)
protected voiddropEvent(QDropEvent arg1)
protected voidfinalize()
Deletes the wrapped C++ instance
intgetSelected()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
protected voidmouseDoubleClickEvent(QMouseEvent arg1)
protected voidmouseMoveEvent(QMouseEvent arg1)
protected voidmousePressEvent(QMouseEvent arg1)
protected voidmouseReleaseEvent(QMouseEvent arg1)
intnumCells()
voidpaintCell(QPainter painter, int row, int col)
protected intposToCell(QPoint pos, boolean ignoreBorders)
protected intposToCell(QPoint pos)
protected voidresizeEvent(QResizeEvent arg1)
voidsetAcceptDrags(boolean _acceptDrags)
voidsetColor(int colNum, QColor col)
voidsetShading(boolean _shade)

Constructor Detail

KColorCells

protected KColorCells(Class dummy)

KColorCells

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

Method Detail

className

public String className()

color

public QColor color(int indx)

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

dragEnterEvent

protected void dragEnterEvent(QDragEnterEvent arg1)

dropEvent

protected void dropEvent(QDropEvent arg1)

finalize

protected void finalize()
Deletes the wrapped C++ instance

getSelected

public int getSelected()

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

mouseDoubleClickEvent

protected void mouseDoubleClickEvent(QMouseEvent arg1)

mouseMoveEvent

protected void mouseMoveEvent(QMouseEvent arg1)

mousePressEvent

protected void mousePressEvent(QMouseEvent arg1)

mouseReleaseEvent

protected void mouseReleaseEvent(QMouseEvent arg1)

numCells

public int numCells()

paintCell

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

posToCell

protected int posToCell(QPoint pos, boolean ignoreBorders)

posToCell

protected int posToCell(QPoint pos)

resizeEvent

protected void resizeEvent(QResizeEvent arg1)

setAcceptDrags

public void setAcceptDrags(boolean _acceptDrags)

setColor

public void setColor(int colNum, QColor col)

setShading

public void setShading(boolean _shade)