KHSSelector Class Reference
Widget for Hue/Saturation selection. More...
#include <kcolordialog.h>
Inheritance diagram for KHSSelector:

Public Member Functions | |
KHSSelector (QWidget *parent=0, const char *name=0) | |
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) |
Detailed Description
Widget for Hue/Saturation selection.The actual values can be fetched using the inherited xValue and yValue methods.

KDE Hue/Saturation Selection Widget
- See also:
- KXYSelector, KValueSelector, KColorDialog
- Author:
- Martin Jones (mjones@kde.org)
- Version:
- Id
- kcolordialog.h,v 1.61 2003/09/10 00:12:13 wheeler Exp
Definition at line 58 of file kcolordialog.h.
Constructor & Destructor Documentation
|
Constructs a hue/saturation selection widget.
Definition at line 196 of file kcolordialog.cpp. References KXYSelector::setRange(). |
Member Function Documentation
|
Draws the contents of the widget on a pixmap, which is used for buffering.
Definition at line 217 of file kcolordialog.cpp. References KXYSelector::contentsRect(), QPixmap::convertFromImage(), KImageEffect::dither(), QRect::height(), QColor::numBitPlanes(), QColor::rgb(), QImage::scanLine(), QColor::setHsv(), and QRect::width(). |
|
Reimplemented from KXYSelector. This drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used. Reimplemented from KXYSelector. Definition at line 212 of file kcolordialog.cpp. References KXYSelector::contentsRect(), QPainter::drawPixmap(), QWidget::x(), and QWidget::y(). |
The documentation for this class was generated from the following files: