KValueSelector Class Reference
#include <kcolordialog.h>
Inheritance diagram for KValueSelector:
Public Member Functions | |
KValueSelector (TQWidget *parent=0, const char *name=0) | |
KValueSelector (Orientation o, TQWidget *parent=0, const char *name=0) | |
int | hue () const |
void | setHue (int h) |
int | saturation () const |
void | setSaturation (int s) |
void | updateContents () |
Public Member Functions inherited from TDESelector | |
TDESelector (TQWidget *parent=0, const char *name=0) | |
TDESelector (Orientation o, TQWidget *parent=0L, const char *name=0L) | |
Orientation | orientation () const |
TQRect | contentsRect () const |
void | setIndent (bool i) |
bool | indent () const |
void | setValue (int value) |
int | value () const |
void | setMinValue (int value) |
int | minValue () const |
void | setMaxValue (int value) |
int | maxValue () const |
Protected Member Functions | |
virtual void | drawPalette (TQPixmap *pixmap) |
virtual void | resizeEvent (TQResizeEvent *) |
virtual void | drawContents (TQPainter *painter) |
virtual void | virtual_hook (int id, void *data) |
Protected Member Functions inherited from TDESelector | |
virtual void | drawArrow (TQPainter *painter, bool show, const TQPoint &pos) |
virtual void | valueChange () |
virtual void | paintEvent (TQPaintEvent *) |
virtual void | mousePressEvent (TQMouseEvent *e) |
virtual void | mouseMoveEvent (TQMouseEvent *e) |
virtual void | wheelEvent (TQWheelEvent *) |
Additional Inherited Members | |
Signals inherited from TDESelector | |
void | valueChanged (int value) |
Detailed Description
Widget for color value selection.
- See also
- KHSSelector, KColorDialog
Definition at line 102 of file kcolordialog.h.
Constructor & Destructor Documentation
◆ KValueSelector() [1/2]
KValueSelector::KValueSelector | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructs a widget for color selection.
Definition at line 265 of file kcolordialog.cpp.
◆ KValueSelector() [2/2]
KValueSelector::KValueSelector | ( | Orientation | o, |
TQWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Constructs a widget for color selection with a given orientation.
Definition at line 272 of file kcolordialog.cpp.
Member Function Documentation
◆ drawContents()
|
protectedvirtual |
Reimplemented from TDESelector.
The drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used.
Reimplemented from TDESelector.
Definition at line 290 of file kcolordialog.cpp.
◆ drawPalette()
|
protectedvirtual |
Draws the contents of the widget on a pixmap, which is used for buffering.
Definition at line 295 of file kcolordialog.cpp.
The documentation for this class was generated from the following files: