KHSSelector Class Reference
#include <kcolordialog.h>
Inheritance diagram for KHSSelector:
Public Member Functions | |
KHSSelector (TQWidget *parent=0, const char *name=0) | |
Public Member Functions inherited from KXYSelector | |
KXYSelector (TQWidget *parent=0, const char *name=0) | |
~KXYSelector () | |
void | setValues (int xPos, int yPos) |
void | setXValue (int xPos) |
void | setYValue (int yPos) |
void | setRange (int minX, int minY, int maxX, int maxY) |
int | xValue () const |
int | yValue () const |
TQRect | contentsRect () 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 KXYSelector | |
virtual void | drawCursor (TQPainter *p, int xp, int yp) |
virtual void | paintEvent (TQPaintEvent *e) |
virtual void | mousePressEvent (TQMouseEvent *e) |
virtual void | mouseMoveEvent (TQMouseEvent *e) |
virtual void | wheelEvent (TQWheelEvent *) |
void | valuesFromPosition (int x, int y, int &xVal, int &yVal) const |
Additional Inherited Members | |
Signals inherited from KXYSelector | |
void | valueChanged (int x, int y) |
Detailed Description
Widget for Hue/Saturation colour selection.
The actual values can be fetched using the inherited xValue and yValue methods.
- See also
- KXYSelector, KValueSelector, KColorDialog
Definition at line 58 of file kcolordialog.h.
Constructor & Destructor Documentation
◆ KHSSelector()
KHSSelector::KHSSelector | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructs a hue/saturation selection widget.
Definition at line 214 of file kcolordialog.cpp.
Member Function Documentation
◆ drawContents()
|
protectedvirtual |
Reimplemented from KXYSelector.
This drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used.
Reimplemented from KXYSelector.
Definition at line 230 of file kcolordialog.cpp.
◆ drawPalette()
|
protectedvirtual |
Draws the contents of the widget on a pixmap, which is used for buffering.
Definition at line 235 of file kcolordialog.cpp.
The documentation for this class was generated from the following files: