class KColorDialog

KDE Color Selection dialog Features: More...

Definition#include <kcolordlg.h>
InheritsQDialog (qt)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Public Slots

Signals


Detailed Description

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 = 0L, const char *name = 0L, bool modal = FALSE )

Construct a KColorDialog

void setColor ( const QColor &col )

Preselect a color

QColor color ()

Retrieve the currently selected color.

int getColor ( QColor &theColor )
[static]

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 )
[signal]

connect to this to monitor the color as it as selected if you are not running modal.


Generated by: root@porky.devel.redhat.com on Mon Feb 21 16:51:05 200.