org.kde.koala

Class KValueSelector

public class KValueSelector extends KSelector

Widget for color value selection.

Author: Martin Jones (mjones@kde.org)

See Also: KHSSelector KColorDialog

UNKNOWN: Widget for color value selection.

Constructor Summary
protected KValueSelector(Class dummy)
KValueSelector(QWidget parent, String name)
Constructs a widget for color selection.
KValueSelector(QWidget parent)
KValueSelector()
KValueSelector(int o, QWidget parent, String name)
Constructs a widget for color selection with a given orientation
KValueSelector(int o, QWidget parent)
KValueSelector(int o)
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voiddrawContents(QPainter painter)
Reimplemented from KSelector.
protected voiddrawPalette(QPixmap pixmap)
Draws the contents of the widget on a pixmap, which is used for buffering.
protected voidfinalize()
Deletes the wrapped C++ instance
inthue()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
protected voidresizeEvent(QResizeEvent arg1)
intsaturation()
voidsetHue(int h)
voidsetSaturation(int s)
voidupdateContents()

Constructor Detail

KValueSelector

protected KValueSelector(Class dummy)

KValueSelector

public KValueSelector(QWidget parent, String name)
Constructs a widget for color selection.

UNKNOWN: Constructs a widget for color selection.

KValueSelector

public KValueSelector(QWidget parent)

KValueSelector

public KValueSelector()

KValueSelector

public KValueSelector(int o, QWidget parent, String name)
Constructs a widget for color selection with a given orientation

UNKNOWN: Constructs a widget for color selection with a given orientation

KValueSelector

public KValueSelector(int o, QWidget parent)

KValueSelector

public KValueSelector(int o)

Method Detail

className

public String className()

dispose

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

drawContents

protected void drawContents(QPainter painter)
Reimplemented from KSelector. The drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used.

UNKNOWN: Reimplemented from KSelector.

drawPalette

protected void drawPalette(QPixmap pixmap)
Draws the contents of the widget on a pixmap, which is used for buffering.

UNKNOWN: Draws the contents of the widget on a pixmap, which is used for buffering.

finalize

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

hue

public int hue()

isDisposed

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

metaObject

public QMetaObject metaObject()

resizeEvent

protected void resizeEvent(QResizeEvent arg1)

saturation

public int saturation()

setHue

public void setHue(int h)

setSaturation

public void setSaturation(int s)

updateContents

public void updateContents()