|
|
Dialog for colour 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]
Reimplemented from QWidget for internal purposes..
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.