wwWidgets Home * All Classes * Main Classes * Grouped Classes * Modules * Functions

QwwHueSatPicker Class Reference

A widget allowing color picking in a form of a hue-saturation rectangle. More...

 #include <QwwHueSatPicker>

Inherits QFrame .

Properties

Public Functions

Public Slots

Signals

Protected Functions


Detailed Description

A widget allowing color picking in a form of a hue-saturation rectangle.

QwwHueSatPicker


Property Documentation

color : QColor

This property holds the currently chosen color.

maximumHue : int

This property holds the maximum value of the hue component shown by the widget.

maximumSat : int

This property holds the maximum value of the saturation component shown by the widget.

minimumHue : int

This property holds the minimum value of the hue component shown by the widget.

minimumSat : int

This property holds the minimum value of the saturation component shown by the widget.

value : int

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.


Member Function Documentation

QColor QwwHueSatPicker::color

This property holds the currently chosen color.

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

This method draws the crosshair pointing the currently chosen color.

int QwwHueSatPicker::maximumHue

This property holds the maximum value of the hue component shown by the widget.

int QwwHueSatPicker::maximumSat

This property holds the maximum value of the saturation component shown by the widget.

int QwwHueSatPicker::minimumHue

This property holds the minimum value of the hue component shown by the widget.

int QwwHueSatPicker::minimumSat

This property holds the minimum value of the saturation component shown by the widget.

void QwwHueSatPicker::setColor (const QColor &c) [ slot ]

void QwwHueSatPicker::setHueRange (int mi, int ma)

void QwwHueSatPicker::setMaximumHue (int h) [ slot ]

void QwwHueSatPicker::setMaximumSat (int v) [ slot ]

void QwwHueSatPicker::setMinimumHue (int h) [ slot ]

void QwwHueSatPicker::setMinimumSat (int v) [ slot ]

void QwwHueSatPicker::setSatRange (int mi, int ma)

void QwwHueSatPicker::setValue (int v) [ slot ]

Sets the current value.

int QwwHueSatPicker::value

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.


Copyright (C) 2007-2008 Witold WysotaTrademarks
wwWidgets 0.9