19#include <QGraphicsPolygonItem>
20#include <QGraphicsView>
32 setTransformationAnchor(QGraphicsView::NoAnchor);
33 setResizeAnchor(QGraphicsView::NoAnchor);
64 void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent)
override;
78 std::vector<T_CURVE::CV>
_cvs;
89 void resize(
int width,
int height);
114 QString pLabel = QString(),
115 QString vLabel = QString(),
116 QString iLabel = QString(),
117 bool expandable =
true);
~CurveGraphicsView() override=default
void resizeEvent(QResizeEvent *event) override
void resizeSignal(int width, int height)
void cvSelected(double x, double y, T_INTERP interp)
void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent) override
void removePoint(int index)
void mouseReleaseEvent(QGraphicsSceneMouseEvent *mouseEvent) override
QGraphicsRectItem * _baseRect
void resize(int width, int height)
void selValChanged(double val)
void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent) override
std::vector< QGraphicsEllipseItem * > _circleObjects
void addPoint(double x, double y, T_INTERP interp, bool select=true)
QGraphicsPolygonItem * _curvePoly
void contextMenuEvent(QGraphicsSceneContextMenuEvent *event) override
void interpChanged(int interp)
std::vector< T_CURVE::CV > _cvs
void selPosChanged(double pos)
void keyPressEvent(QKeyEvent *event) override
void cvSelectedSlot(double pos, double val, T_INTERP interp)
void addPoint(double x, double y, T_INTERP interp, bool select=false)
void selValChangedSignal(double val)
QComboBox * _interpComboBox
void selPosChangedSignal(double pos)
~ExprCurve() override=default
Interpolation curve class for double->double and double->Vec3D.
InterpType
Supported interpolation types.