wwWidgets Home · All Classes · Main Classes · Grouped Classes · Functions |
The QwwHueSatPicker class provides a widget allowing color picking in a form of a hue-saturation rectangle. More...
#include <QwwHueSatPicker>
Inherits QFrame.
|
|
QwwHueSatPicker ( QWidget * parent = 0 ) | |
QColor | color () const |
int | maximumHue () const |
int | maximumSat () const |
int | minimumHue () const |
int | minimumSat () const |
void | setHueRange ( int mi, int ma ) |
void | setSatRange ( int mi, int ma ) |
int | value () const |
void | setColor ( const QColor & c ) |
void | setMaximumHue ( int h ) |
void | setMaximumSat ( int v ) |
void | setMinimumHue ( int h ) |
void | setMinimumSat ( int v ) |
void | setValue ( int v ) |
void | colorPicked ( QColor color ) |
void | hueRangeChanged ( int min, int max ) |
void | maximumHueChanged ( int ) |
void | maximumSatChanged ( int ) |
void | minimumHueChanged ( int ) |
void | minimumSatChanged ( int ) |
void | satRangeChanged ( int, int ) |
void | valueChanged ( int ) |
virtual void | drawCrosshair ( QPainter * p, const QPoint & pt ) |
The QwwHueSatPicker class provides a widget allowing color picking in a form of a hue-saturation rectangle.
This property holds this property holds the currently chosen color.
Access functions:
QColor | color () const |
void | setColor ( const QColor & c ) |
This property holds this property holds the maximum value of the hue component shown by the widget.
Access functions:
int | maximumHue () const |
void | setMaximumHue ( int h ) |
This property holds this property holds the maximum value of the saturation component shown by the widget.
Access functions:
int | maximumSat () const |
void | setMaximumSat ( int v ) |
This property holds this property holds the minimum value of the hue component shown by the widget.
Access functions:
int | minimumHue () const |
void | setMinimumHue ( int h ) |
This property holds this property holds the minimum value of the saturation component shown by the widget.
Access functions:
int | minimumSat () const |
void | setMinimumSat ( int v ) |
This property holds this property holds the value component of the table visible.
This property keeps the lightness component of the color table. The range of allowed values for this property is 0-255. The default value is 220.
Access functions:
int | value () const |
void | setValue ( int v ) |
Constructs a hue sat picker with a given parent.
This signal is emitted when color is picked.
This method draws the crosshair pointing the currently chosen color at point pt on painter p. p painter to draw on pt point to draw the cross in
This signal is emitted when the Hue range changes to (min, max)
mi ma
mi ma
Copyright © 2007-2010 Witold Wysota | Trademarks | wwWidgets 1.0.0 |