2 #include <score/graphics/widgets/Constants.hpp>
4 #include <QGraphicsItem>
7 #include <score_lib_base_export.h>
16 ,
public QGraphicsItem
19 SCORE_GRAPHICS_ITEM_TYPE(120)
21 static constexpr
int m_min = 0;
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;
Definition: QGraphicsNoteChooser.hpp:17
Base toolkit upon which the software is built.
Definition: Application.cpp:90