11 #include <QFocusEvent>
13 #include <QPushButton>
25 Q_PROPERTY(
bool colorDialog READ colorDialogEnabled WRITE
26 setColorDialogEnabled)
31 bool enableColorDialog =
true);
35 void insertColor(
const QColor &
color,
36 const QString &text = QString(),
39 QColor currentColor()
const;
41 QColor
color(
int index)
const;
43 void setColorDialogEnabled(
bool enabled);
44 bool colorDialogEnabled()
const;
46 void setStandardColors();
48 static QColor
GetColor(
const QPoint &pos,
bool allowCustomColors =
true);
51 void setCurrentColor(
const QColor &col);
57 void paintEvent(QPaintEvent *
e);
60 void buttonPressed(
bool toggled);
static QColor GetColor(double value, double r1, double g1, double b1)
#define QPCL_ENGINE_LIB_API