#include <kcolordialog.h>
Inherits TQFrame.
|
void | colorChanged (const TQColor &) |
|
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 311 of file kcolordialog.h.
◆ KColorPatch()
KColorPatch::KColorPatch |
( |
TQWidget * |
parent | ) |
|
◆ ~KColorPatch()
KColorPatch::~KColorPatch |
( |
| ) |
|
|
virtual |
◆ dragEnterEvent()
void KColorPatch::dragEnterEvent |
( |
TQDragEnterEvent * |
event | ) |
|
|
protectedvirtual |
◆ drawContents()
void KColorPatch::drawContents |
( |
TQPainter * |
painter | ) |
|
|
protectedvirtual |
◆ dropEvent()
void KColorPatch::dropEvent |
( |
TQDropEvent * |
event | ) |
|
|
protectedvirtual |
◆ mouseMoveEvent()
void KColorPatch::mouseMoveEvent |
( |
TQMouseEvent * |
e | ) |
|
|
protectedvirtual |
◆ setColor()
void KColorPatch::setColor |
( |
const TQColor & |
col | ) |
|
◆ virtual_hook()
void KColorPatch::virtual_hook |
( |
int |
id, |
|
|
void * |
data |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following files: