23 ,
public QGraphicsItem
26 SCORE_GRAPHICS_ITEM_TYPE(110)
30 double min{0.}, max{1.};
32 ossia::value m_value{};
33 ossia::value m_execValue{};
40 void setPoint(
const QPointF& r);
41 void setValue(ossia::value v);
42 ossia::value value()
const;
43 void setExecutionValue(
double v);
44 void resetExecution();
46 void setRange(
const ossia::value& min,
const ossia::value& max);
47 void setRange(
const ossia::domain& dom);
50 void sliderMoved() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderMoved)
51 void sliderReleased() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderReleased)
54 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
55 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
56 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
57 QRectF boundingRect()
const override;
58 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)