class KColorPatch

# class KColorPatch | A color shower. More...
Definition | `#include <kcolordialog.h>`
Inherits | QFrame (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KColorPatch ( QWidget *parent )
- virtual ~KColorPatch ()
- void setColor ( const QColor &col )

#### Signals

- void colorChanged ( const QColor&)

#### Protected Methods

- virtual void virtual_hook ( int id, void* data )

## Detailed Description

The KColorPatch widget is a (usually small) widget showing a selected color e. g. in the KColorDialog. It automatically handles drag and drop from and on the widget.

KColorPatch ( QWidget *parent ) | ### KColorPatch

~KColorPatch () | ### ~KColorPatch

[virtual]

void setColor ( const QColor &col ) | ### setColor

void colorChanged ( const QColor&) | ### colorChanged

[signal]

void drawContents ( QPainter *painter ) | ### drawContents

[protected virtual]

void mouseMoveEvent ( QMouseEvent * ) | ### mouseMoveEvent

[protected virtual]

void dragEnterEvent ( QDragEnterEvent *) | ### dragEnterEvent

[protected virtual]

void dropEvent ( QDropEvent *) | ### dropEvent

[protected virtual]

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:37 2003, using kdoc 2.0a54.