#include <kcolordialog.h>

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 () |
![]() | |
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) |
![]() | |
virtual void | drawContents (TQPainter *) |
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 *) |
virtual void | virtual_hook (int id, void *data) |
Additional Inherited Members | |
![]() | |
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.
◆ hue()
|
inline |
Definition at line 116 of file kcolordialog.h.
◆ resizeEvent()
|
protectedvirtual |
Definition at line 285 of file kcolordialog.cpp.
◆ saturation()
|
inline |
Definition at line 120 of file kcolordialog.h.
◆ setHue()
|
inline |
Definition at line 118 of file kcolordialog.h.
◆ setSaturation()
|
inline |
Definition at line 122 of file kcolordialog.h.
◆ updateContents()
void KValueSelector::updateContents | ( | ) |
Definition at line 280 of file kcolordialog.cpp.
◆ virtual_hook()
|
protectedvirtual |
Reimplemented from TDESelector.
Definition at line 1599 of file kcolordialog.cpp.
The documentation for this class was generated from the following files: