19 SCORE_GRAPHICS_ITEM_TYPE(60)
23 int m_value{}, m_execValue{};
28 int min{}, max{}, init{};
33 double from01(
double v)
const noexcept;
34 double unmap(
double v)
const noexcept;
35 double map(
double v)
const noexcept;
38 void setExecutionValue(
int v);
39 void resetExecution();
40 void setRange(
int min,
int max,
int init);
46 void sliderMoved() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderMoved)
47 void sliderReleased() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderReleased)
50 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
51 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
52 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
53 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
55 double getHandleX()
const;
56 double getExecHandleX()
const;