5 #include <QColorDialog>
28 QSize
sizeHint()
const {
return QSize(300, 100); }
29 void setPoints(QPolygonF points) {m_points = points;}
33 void addColor(QPolygonF points, QColor color);
47 void paintEvent(QPaintEvent *event);
48 void mousePressEvent(QMouseEvent *event);
53 QVector<QVector4D> interpolate();
57 float* toFloatArray();
60 QColorDialog m_dialog;
62 QVector<QColor> m_colors;
67 #endif // TRANSFERBOX_H