# class KHueSaturationSelector

###

Module | kdeui
Namespace |
Class | KHueSaturationSelector
Inherits | KXYSelector

### methods

- KHueSaturationSelector (parent)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0

  Constructs a hue/saturation selection widget.

- KHueSaturationSelector (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KHueSaturationSelector |

- KHueSaturationSelector (a0)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget | 0

- chooserMode ( )

  returns KColorChooserMode

  Returns the chooser mode.

  Returns The chooser mode (defined in KColorChooserMode)

- colorValue ( )

  returns int

  Returns the color value (also known as lumniousity, 0-255)

  Returns The color value (0-255)

- drawContents (painter)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  painter | QPainter |

  Reimplemented from KXYSelector. This drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used.

- drawPalette (pixmap)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |

  Draws the contents of the widget on a pixmap, which is used for buffering.

- hue ( )

  returns int

  Returns the hue value

  Returns The hue value (0-360)

- resizeEvent (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QResizeEvent |

- saturation ( )

  returns int

  Returns the saturation (0-255)

  Returns The saturation (0-255)

- setChooserMode (chooserMode)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  chooserMode | KColorChooserMode |

  Sets the chooser mode. The allowed modes are defined in KColorChooserMode.

  - The chooser mode as defined in KColorChooserMode

- setColorValue (colorValue)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  colorValue | int |

  Sets the color value (0-255)

  - colorValue The color value (0-255)

- setHue (hue)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  hue | int |

  Sets the hue value (0-360)

  - hue The hue value (0-360)

- setSaturation (saturation)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  saturation | int |

  Sets the saturation (0-255)

  - saturation The saturation (0-255)

- updateContents ( )

  returns Nothing

  Updates the contents