19 SCORE_GRAPHICS_ITEM_TYPE(100)
28 double min{}, max{}, init{};
38 void setRange(
double min,
double max,
double init);
39 void setValue(
double v);
41 void setExecutionValue(
double v);
42 void resetExecution();
44 double from01(
double v)
const noexcept;
45 double map(
double v)
const noexcept;
46 double unmap(
double v)
const noexcept;
51 void sliderMoved() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderMoved)
52 void sliderReleased() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderReleased)
55 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
56 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
57 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
58 void contextMenuEvent(QGraphicsSceneContextMenuEvent* event)
override;
59 void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event)
override;
60 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)