2 #include <Scenario/Document/Event/ExecutionStatus.hpp>
3 #include <Scenario/Document/ScenarioDocument/ScenarioDocumentViewConstants.hpp>
5 #include <score/model/ColorReference.hpp>
7 #include <QGraphicsItem>
8 #include <QPainterPath>
11 #include <score_plugin_scenario_export.h>
20 ,
public QGraphicsItem
23 Q_INTERFACES(QGraphicsItem)
27 QRectF boundingRect()
const override;
28 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
30 void changeHeight(qreal newH);
32 void setSelected(
bool selected);
34 static const constexpr
int Type = ItemType::Condition;
35 int type()
const final override {
return Type; }
38 void pressed(QPointF arg_1) W_SIGNAL(pressed, arg_1);
41 void setHeight(qreal);
43 QPainterPath shape()
const override;
44 bool contains(
const QPointF& point)
const override;
45 QPainterPath opaqueArea()
const override;
46 void mousePressEvent(QGraphicsSceneMouseEvent*)
override;
50 QPainterPath m_strokedCpath;
52 bool m_selected{
false};
Definition: ConditionView.hpp:21
Definition: EventModel.hpp:36
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14