class KValueSelector

# class KValueSelector | Widget for color value selection. More...
Definition | `#include <kcolordialog.h>`
Inherits | KSelector [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KValueSelector ( QWidget *parent=0, const char *name=0 )
- KValueSelector ( Orientation o, QWidget *parent = 0, const char *name = 0 )
- int hue () const
- void setHue ( int h )
- int saturation () const
- void setSaturation ( int s )
- void updateContents ()

#### Protected Methods

- virtual void drawPalette ( QPixmap *pixmap )
- virtual void drawContents ( QPainter *painter )
- virtual void virtual_hook ( int id, void* data )

## Detailed Description

Widget for color value selection.

See also: KHSSelector, KColorDialog

KValueSelector ( QWidget *parent=0, const char *name=0 ) | ### KValueSelector

Constructs a widget for color selection.

KValueSelector ( Orientation o, QWidget *parent = 0, const char *name = 0 ) | ### KValueSelector

Constructs a widget for color selection with a given orientation

int hue () | ### hue

[const]

void setHue ( int h ) | ### setHue

int saturation () | ### saturation

[const]

void setSaturation ( int s ) | ### setSaturation

void updateContents () | ### updateContents

void drawPalette ( QPixmap *pixmap ) | ### drawPalette

[protected virtual]

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

void resizeEvent ( QResizeEvent * ) | ### resizeEvent

[protected virtual]

void drawContents ( QPainter *painter ) | ### drawContents

[protected virtual]

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

Reimplemented from KSelector.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Reimplemented from KSelector.

- Version: $Id: kcolordialog.h,v 1.50 2002/08/01 14:19:52 coolo Exp $
- Author: Martin Jones (mjones@kde.org)
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:37 2003, using kdoc 2.0a54.