class KColorValueSelector |
|
|
Constructs a widget for color selection. |
|
Constructs a widget for color selection with a given orientation |
|
|
|
|
Returns the current chooser mode.
@return The chooser mode (one of the KColorChooserMode constants) |
|
Returns the current color value.
@return The color value (0-255) |
|
Reimplemented from KSelector. The drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used. |
|
Draws the contents of the widget on a pixmap, which is used for buffering. |
|
Returns the current hue value.
Returns The hue value (0-255) |
|
|
Returns the current saturation value.
@return The saturation value (0-255) |
|
Sets the chooser mode. Doesn't automatically update the widget;
you have to call updateContents manually.
@param chooserMode Sets the chooser mode (one of the KColorChooserMode constants) |
|
Sets the color value. Doesn't automatically update the widget;
you have to call updateContents manually.
@param colorValue Sets the color value (0-255) |
|
Sets the hue value. Doesn't automatically update the widget;
you have to call updateContents manually.
@param hue Sets the hue value (0-255) |
|
Sets the saturation value. Doesn't automatically update the widget;
you have to call updateContents manually.
@param saturation Sets the saturation value (0-255) |
|
Updates the widget's contents. |