26#ifndef _KCOLORCOMBO_H__
27#define _KCOLORCOMBO_H__
29#include <tqcombobox.h>
30#include <kcolordialog.h>
34class KColorComboInternal;
48 KColorCombo( TQWidget *parent,
const char *name = 0L );
58 TQColor
color()
const;
77 virtual void resizeEvent( TQResizeEvent *re );
80 void slotActivated(
int index );
81 void slotHighlighted(
int index );
86 TQColor internalcolor;
89 virtual void virtual_hook(
int id,
void* data );
91 class KColorComboPrivate;
92 KColorComboPrivate *d;
void showEmptyList()
Clear the color list and don't show it, till the next setColor() call.
void setColor(const TQColor &col)
Selects the color col.
void highlighted(const TQColor &col)
Emitted when a new item has been highlighted.
KColorCombo(TQWidget *parent, const char *name=0L)
Constructs a color combo box.
TQColor color() const
Returns the currently selected color.
void activated(const TQColor &col)
Emitted when a new color box has been selected.