2 #include <score/graphics/widgets/Constants.hpp>
4 #include <QGraphicsItem>
7 #include <score_lib_base_export.h>
15 ,
public QGraphicsItem
18 SCORE_GRAPHICS_ITEM_TYPE(10)
19 QRectF m_rect{defaultToggleSize};
29 void pressed(
bool b) E_SIGNAL(SCORE_LIB_BASE_EXPORT, pressed, b)
32 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
33 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
34 QRectF boundingRect()
const override;
35 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
Base toolkit upon which the software is built.
Definition: Application.cpp:90