QwwHueSatRadialPicker Class

The QwwHueSatRadialPicker class provides a widget allowing color picking in a form of hue-saturation circle. More...

Header: #include <QwwHueSatRadialPicker>

Properties

Public Functions

QwwHueSatRadialPicker(QWidget * parent = 0)
const QColor color() const
int value() const

Public Slots

void setColor(const QColor & c)
void setValue(int v)

Signals

void colorPicked(QColor color)
void valueChanged(int value)

Protected Functions

virtual void drawCrosshair(QPainter * p, const QPoint & pt)

Detailed Description

The QwwHueSatRadialPicker class provides a widget allowing color picking in a form of hue-saturation circle.

QwwHueSatRadialPicker

Property Documentation

color : QColor

This property holds property holds the currently picked color.

Access functions:

const QColor color() const
void setColor(const QColor & c)

value : int

This property holds property holds the Value component of colors available in the picker.

Access functions:

int value() const
void setValue(int v)

Member Function Documentation

QwwHueSatRadialPicker::QwwHueSatRadialPicker(QWidget * parent = 0)

Constructs a radial picker widget with a given parent.

void QwwHueSatRadialPicker::colorPicked(QColor color) [signal]

This signal is emitted whenever color is picked.

void QwwHueSatRadialPicker::drawCrosshair(QPainter * p, const QPoint & pt) [virtual protected]

Draws the crosshair on painter p at point pt.

void QwwHueSatRadialPicker::valueChanged(int value) [signal]

This signal is emitted whenever the V component of the color changes to value.