org.kde.koala

Class KColorPatch

public class KColorPatch extends QFrame

The KColorPatch widget is a (usually small) widget showing a selected color e. g. in the KColorDialog. It automatically handles drag and drop from and on the widget. See KColorPatchSignals for signals emitted by KColorPatch

UNKNOWN: A color displayer.

Constructor Summary
protected KColorPatch(Class dummy)
KColorPatch(QWidget parent)
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voiddragEnterEvent(QDragEnterEvent arg1)
protected voiddrawContents(QPainter painter)
protected voiddropEvent(QDropEvent arg1)
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
protected voidmouseMoveEvent(QMouseEvent arg1)
voidsetColor(QColor col)

Constructor Detail

KColorPatch

protected KColorPatch(Class dummy)

KColorPatch

public KColorPatch(QWidget parent)

Method Detail

className

public String className()

dispose

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

dragEnterEvent

protected void dragEnterEvent(QDragEnterEvent arg1)

drawContents

protected void drawContents(QPainter painter)

dropEvent

protected void dropEvent(QDropEvent arg1)

finalize

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

isDisposed

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

metaObject

public QMetaObject metaObject()

mouseMoveEvent

protected void mouseMoveEvent(QMouseEvent arg1)

setColor

public void setColor(QColor col)