KDEUI
KColorPatch Class Reference
#include <kcolordialog.h>
Inheritance diagram for KColorPatch:

Detailed Description
A color displayer.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.
Definition at line 109 of file kcolordialog.h.
Signals | |
void | colorChanged (const QColor &) |
Public Member Functions | |
KColorPatch (QWidget *parent) | |
void | setColor (const QColor &col) |
virtual | ~KColorPatch () |
Protected Member Functions | |
virtual void | dragEnterEvent (QDragEnterEvent *) |
virtual void | dropEvent (QDropEvent *) |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | paintEvent (QPaintEvent *pe) |
Constructor & Destructor Documentation
KColorPatch::KColorPatch | ( | QWidget * | parent | ) |
Definition at line 436 of file kcolordialog.cpp.
KColorPatch::~KColorPatch | ( | ) | [virtual] |
Definition at line 443 of file kcolordialog.cpp.
Member Function Documentation
void KColorPatch::colorChanged | ( | const QColor & | ) | [signal] |
void KColorPatch::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected, virtual] |
Definition at line 472 of file kcolordialog.cpp.
void KColorPatch::dropEvent | ( | QDropEvent * | event | ) | [protected, virtual] |
Definition at line 477 of file kcolordialog.cpp.
void KColorPatch::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 464 of file kcolordialog.cpp.
void KColorPatch::paintEvent | ( | QPaintEvent * | pe | ) | [protected, virtual] |
Definition at line 455 of file kcolordialog.cpp.
void KColorPatch::setColor | ( | const QColor & | col | ) |
Definition at line 448 of file kcolordialog.cpp.
The documentation for this class was generated from the following files: