KValueSelector Class Reference
#include <kcolordialog.h>
Inheritance diagram for KValueSelector:

Detailed Description
Widget for color value selection.
- See also:
- KHSSelector, KColorDialog
- Author:
- Martin Jones (mjones@kde.org)
Definition at line 102 of file kcolordialog.h.
Public Member Functions | |
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 Member Functions | |
virtual void | drawPalette (QPixmap *pixmap) |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | drawContents (QPainter *painter) |
virtual void | virtual_hook (int id, void *data) |
Constructor & Destructor Documentation
|
Constructs a widget for color selection.
Definition at line 261 of file kcolordialog.cpp. |
|
Constructs a widget for color selection with a given orientation.
Definition at line 268 of file kcolordialog.cpp. |
Member Function Documentation
|
Reimplemented from KSelector. The drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used. Reimplemented from KSelector. Definition at line 286 of file kcolordialog.cpp. |
|
Draws the contents of the widget on a pixmap, which is used for buffering.
Definition at line 291 of file kcolordialog.cpp. |
The documentation for this class was generated from the following files: