39 Q_INTERFACES(QGraphicsItem)
52 static const constexpr double min = 0.;
53 static const constexpr double max = 1.;
54 static const constexpr double init = 0.5;
59 static double from01(
double v) {
return v; }
60 static double map(
double v) {
return v; }
61 static double unmap(
double v) {
return v; }
63 void setValue(
double v);
65 void setExecutionValue(
const ossia::value& v);
66 void resetExecution();
71 void valueChanged(
double arg_1) W_SIGNAL(valueChanged, arg_1);
72 void sliderMoved() W_SIGNAL(sliderMoved);
73 void sliderReleased() W_SIGNAL(sliderReleased);
76 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
77 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
78 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
79 void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event)
override;
80 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
Definition ProcessContext.hpp:12
Definition DocumentContext.hpp:18