32 #include <QPushButton>
34 #include <QGridLayout>
38 #include <QFocusEvent>
53 virtual void setColor(
const QColor &col,
const int index=-1);
60 void paintEvent(QPaintEvent *e);
63 void buttonPressed(
bool toggled);
79 void setColors(
const QVector<QRgb> &cols);
82 void colorSelected(
const QColor &,
const int &index);
91 void hideEvent(QHideEvent *e);
108 void setColors(
const QVector<QRgb> &cols);
113 void colorSelected(
const QColor &,
const int &index);
116 void colorChanged(
const QColor &);
122 void buttonPressed(
bool toggled);
Definition: ColorPicker.h:72
Definition: ColorPicker.h:99