1 #ifndef TRANSFORMWIDGET_HPP_
2 #define TRANSFORMWIDGET_HPP_
4 #include <QGraphicsView>
5 #include <QGraphicsScene>
6 #include <QPainterPath>
9 #include "TransferPoint.hpp"
70 void setNewRGBXY(
float _red,
float _green,
float _blue,
float _x,
float _y);
80 void transferChanged();
83 QGraphicsScene *scene;
84 QGraphicsPathItem *background;
85 QList<QGraphicsLineItem *> lines;
86 QList<TransferPoint *> points;
91 void fillBackground();
98 void mousePressEvent(QMouseEvent *event);
105 void mouseMoveEvent(QMouseEvent *event);