KDEUI
KColorPatch Class Reference
A color displayer. More...
#include <kcolordialog.h>
Inheritance diagram for KColorPatch:
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) |
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.
Constructor & Destructor Documentation
| KColorPatch::KColorPatch | ( | QWidget * | parent | ) |
Definition at line 437 of file kcolordialog.cpp.
| KColorPatch::~KColorPatch | ( | ) | [virtual] |
Definition at line 444 of file kcolordialog.cpp.
Member Function Documentation
| void KColorPatch::colorChanged | ( | const QColor & | ) | [signal] |
| void KColorPatch::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected, virtual] |
Definition at line 473 of file kcolordialog.cpp.
| void KColorPatch::dropEvent | ( | QDropEvent * | event | ) | [protected, virtual] |
Definition at line 478 of file kcolordialog.cpp.
| void KColorPatch::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 465 of file kcolordialog.cpp.
| void KColorPatch::paintEvent | ( | QPaintEvent * | pe | ) | [protected, virtual] |
Definition at line 456 of file kcolordialog.cpp.
| void KColorPatch::setColor | ( | const QColor & | col | ) |
Definition at line 449 of file kcolordialog.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference