KColorCombo Class Reference
Combobox for colors. More...
#include <kcolorcombo.h>
Inheritance diagram for KColorCombo:

Signals | |
void | activated (const QColor &col) |
Emitted when a new color box has been selected. | |
void | highlighted (const QColor &col) |
Emitted when a new item has been highlighted. | |
Public Methods | |
KColorCombo (QWidget *parent, const char *name=0L) | |
Constructs a color combo box. | |
void | setColor (const QColor &col) |
Selects the color col . | |
QColor | color () const |
Returns the currently selected color. | |
void | showEmptyList () |
Clear the colour list and don't show it, till the next setColor() call. |
Detailed Description
Combobox for colors.
Definition at line 39 of file kcolorcombo.h.
Constructor & Destructor Documentation
|
Constructs a color combo box.
Definition at line 111 of file kcolorcombo.cpp. References activated(), highlighted(), and QColor::setRgb(). |
Member Function Documentation
|
Selects the color
Definition at line 136 of file kcolorcombo.cpp. |
|
Returns the currently selected color.
Definition at line 147 of file kcolorcombo.cpp. |
|
Clear the colour list and don't show it, till the next setColor() call.
Definition at line 161 of file kcolorcombo.cpp. |
|
Emitted when a new color box has been selected.
Referenced by KColorCombo(). |
|
Emitted when a new item has been highlighted.
Referenced by KColorCombo(). |
The documentation for this class was generated from the following files: