#include <kcolorbutton.h>
Signals | |
| void | changed (const QColor &newColor) |
Public Methods | |
| KColorButton (QWidget *parent, const char *name=0L) | |
| KColorButton (const QColor &c, QWidget *parent, const char *name=0L) | |
| KColorButton (const QColor &c, const QColor &defaultColor, QWidget *parent, const char *name=0L) | |
| |
| virtual | ~KColorButton () |
| QColor | color () const |
| void | setColor (const QColor &c) |
Protected Methods | |
| virtual void | drawButtonLabel (QPainter *p) |
| virtual void | dragEnterEvent (QDragEnterEvent *) |
| virtual void | dropEvent (QDropEvent *) |
| virtual void | mousePressEvent (QMouseEvent *e) |
| virtual void | mouseMoveEvent (QMouseEvent *e) |
This widget can be used to display or allow user selection of a colour.
Definition at line 34 of file kcolorbutton.h.
|
||||||||||||
|
Creates a color button. |
|
||||||||||||||||
|
Creates a color button with an initial color |
|
|
Destructor. |
|
|
Emitted when the color of the widget is changed, either with setColor() or via user selection. |
|
|
Returns the currently chosen color. Definition at line 60 of file kcolorbutton.h. |
|
|
@reimplemented |
|
|
@reimplemented |
|
|
@reimplemented |
|
|
@reimplemented |
|
|
@reimplemented |
|
|
Sets the current color to |
1.2.18