2 #include <Scenario/Document/ScenarioDocument/ScenarioDocumentViewConstants.hpp>
4 #include <score/model/ColorInterpolator.hpp>
5 #include <score/model/Identifier.hpp>
7 #include <QGraphicsItem>
9 #include <QPainterPath>
11 #include <score_plugin_scenario_export.h>
29 ,
public QGraphicsItem
41 static const constexpr
int Type = ItemType::GraphInterval;
42 int type()
const final override {
return Type; }
44 void pressed(QPointF arg_1)
const
45 E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, pressed, arg_1)
46 void moved(QPointF arg_1)
const E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, moved, arg_1)
47 void released(QPointF arg_1)
const
48 E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, released, arg_1)
50 QRectF boundingRect()
const override;
54 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
56 QPainterPath shape()
const override;
57 QPainterPath opaqueArea()
const override;
58 bool contains(
const QPointF& point)
const override;
60 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
61 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
62 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
Definition: GraphIntervalPresenter.hpp:30
Definition: IntervalModel.hpp:50
Definition: StateView.hpp:29
The id_base_t class.
Definition: Identifier.hpp:57
Definition: ColorInterpolator.hpp:9
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
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
Definition: ProcessContext.hpp:12
Definition: ScenarioStyle.hpp:13