2 #include <score/model/IdentifiedObjectMap.hpp>
3 #include <score/model/Identifier.hpp>
5 #include <QGraphicsItem>
9 #include <score_plugin_curve_export.h>
13 class QGraphicsSceneContextMenuEvent;
15 class QStyleOptionGraphicsItem;
23 ,
public QGraphicsItem
26 Q_INTERFACES(QGraphicsItem)
33 static const constexpr
int Type = QGraphicsItem::UserType + 100;
34 int type()
const final override {
return Type; }
36 QRectF boundingRect()
const override;
37 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
40 void setSelected(
bool selected);
48 void contextMenuRequested(
const QPoint& arg_1,
const QPointF& arg_2)
49 E_SIGNAL(SCORE_PLUGIN_CURVE_EXPORT, contextMenuRequested, arg_1, arg_2)
51 void contextMenuEvent(QGraphicsSceneContextMenuEvent*)
override;
60 #if !defined(SCORE_ALL_UNITY)
Definition: CurvePointModel.hpp:18
Definition: CurvePointView.hpp:24
The id_base_t class.
Definition: Identifier.hpp:57
Utilities and base classes for 1D curves.
Definition: FocusDispatcher.hpp:12
Definition: CurveStyle.hpp:13