16 ,
public QGraphicsItem
19 SCORE_GRAPHICS_ITEM_TYPE(120)
21 static constexpr int m_min = -2;
22 static constexpr int m_max = 127;
23 static constexpr double m_width = 30;
24 static constexpr double m_height = 28;
39 void sliderMoved() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderMoved)
40 void sliderReleased() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderReleased)
43 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
44 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
45 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
46 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
48 QRectF boundingRect()
const override;