class KColorDialog

In file ../ui/kcolordlg.h:

## class KColorDialog : public QDialog

> KDE Color Selection dialog

## Inheritance:

### public members:

  | KColorDialog ( QWidget *parent = NULL, const char *name = NULL, bool modal = FALSE ) Constructor
  void | setColor ( const QColor &col ) Preselect a color
  QColor | color () Retrieve the currently selected color.
  void | colorSelected ( const QColor &col ) Notify when a color is selected.

## Documentation

> KDE Color Selection dialog Features:

> Colour selection from a standard system palette. Colour selection from a Palette of H vs S and V selectors (similar to windoze). Direct input of HSV or RGB values. Saving of custom colors

> simplest use: QColor myColor; int result = KColorDialog::getColor( myColor );

KColorDialog ( QWidget *parent = NULL, const char *name = NULL, bool modal = FALSE )
  Construct a KColorDialog

void setColor ( const QColor &col )
  Preselect a color

QColor color ()
  Retrieve the currently selected color. This is probably the function you are looking for. Just call this to pop up dialog get the selected color. returns result().

void colorSelected ( const QColor &col )
  connect to this to monitor the color as it as selected if you are not running modal.

#### this class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling