class KColorDialog

KDE Color Selection dialog Features: More...

Definition#include <kcolordlg.h>
InheritsQDialog, QDialog
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals

Public Static Methods


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  slotOkPressed ()

[slot]

void  colorSelected ( const QColor &col )

[signal]

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

 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  slotOkPressed ()

[slot]

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@george.devel.redhat.com on Thu Sep 14 21:18:43 2000, using kdoc 2.0a36.