23 #ifndef __COLORBUTTON_H__
24 #define __COLORBUTTON_H__
26 #include <QPushButton>
44 QString colorHtml()
const;
45 const QColor& colorQ()
const {
return color; }
46 unsigned colorUnsigned()
const;
48 void setColor(
unsigned colorValue);
49 void setColorHtml(
const QString& colorHtml);
52 void colorUpdated(QColor oldColor,
const QColor& newColor);
57 void updateAppearance();