KColorCombo Class Reference
#include <kcolorcombo.h>
Inherits TQComboBox.
Signals | |
void | activated (const TQColor &col) |
void | highlighted (const TQColor &col) |
Public Member Functions | |
KColorCombo (TQWidget *parent, const char *name=0L) | |
void | setColor (const TQColor &col) |
TQColor | color () const |
void | showEmptyList () |
Protected Member Functions | |
virtual void | resizeEvent (TQResizeEvent *re) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Combobox for colors.
Definition at line 39 of file kcolorcombo.h.
Constructor & Destructor Documentation
◆ KColorCombo()
KColorCombo::KColorCombo | ( | TQWidget * | parent, |
const char * | name = 0L |
||
) |
Constructs a color combo box.
Definition at line 111 of file kcolorcombo.cpp.
Member Function Documentation
◆ activated
|
signal |
Emitted when a new color box has been selected.
◆ color()
TQColor KColorCombo::color | ( | ) | const |
Returns the currently selected color.
Definition at line 147 of file kcolorcombo.cpp.
◆ highlighted
|
signal |
Emitted when a new item has been highlighted.
◆ setColor()
void KColorCombo::setColor | ( | const TQColor & | col | ) |
◆ showEmptyList()
void KColorCombo::showEmptyList | ( | ) |
Clear the color list and don't show it, till the next setColor() call.
Show an empty list, till the next color is set with setColor.
Definition at line 161 of file kcolorcombo.cpp.
The documentation for this class was generated from the following files: