2 #include <score/graphics/TextItem.hpp>
4 #include <QGraphicsItem>
14 class QGraphicsSceneHoverEvent;
15 class QGraphicsSceneMouseEvent;
26 QRectF boundingRect()
const override;
27 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
40 QGraphicsItem* parent);
43 void setIndex(
int index);
46 void textChanged() W_SIGNAL(textChanged);
49 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
50 void hoverEnterEvent(QGraphicsSceneHoverEvent* event)
override;
51 void hoverLeaveEvent(QGraphicsSceneHoverEvent* event)
override;
55 ClickHandler m_onClick;
Definition: ClickableLabelItem.hpp:34
Definition: ClickableLabelItem.hpp:20
Definition: TextItem.hpp:28
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Base toolkit upon which the software is built.
Definition: Application.cpp:90