29 ,
public QGraphicsItem
32 Q_INTERFACES(QGraphicsItem)
34 static const constexpr qreal fullRadius = 8.;
35 static const constexpr qreal pointRadius = 5.;
36 static const constexpr qreal notDilated = 1.;
37 static const constexpr qreal dilated = 1.5;
42 static const constexpr int Type = ItemType::State;
43 int type()
const final override {
return Type; }
47 QRectF boundingRect()
const override;
48 QPainterPath shape()
const override;
49 QPainterPath opaqueArea()
const override;
50 bool contains(
const QPointF& point)
const override;
52 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
55 void setContainMessage(
bool);
56 void setBrokenReferences(
bool);
57 void setEmphasized(
bool);
58 void setContainProcess(
bool);
59 void setSelected(
bool arg);
60 void setStatus(ExecutionStatus);
61 void disableOverlay();
64 void dropReceived(
const QMimeData& arg_1)
65 E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, dropReceived, arg_1)
66 void startCreateMode() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, startCreateMode)
67 void startCreateGraphalMode()
68 E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, startCreateGraphalMode)
69 void startCreateSequence() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, startCreateSequence)
72 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
73 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
74 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
75 void hoverEnterEvent(QGraphicsSceneHoverEvent* event)
override;
76 void hoverLeaveEvent(QGraphicsSceneHoverEvent* event)
override;
77 void dragEnterEvent(QGraphicsSceneDragDropEvent* event)
override;
78 void dragLeaveEvent(QGraphicsSceneDragDropEvent* event)
override;
79 void dropEvent(QGraphicsSceneDragDropEvent* event)
override;
82 void setDilatation(
bool);
90 bool m_containMessage : 1;
91 bool m_brokenReferences : 1;
92 bool m_emphasized : 1;
93 bool m_containProcess : 1;
96 bool m_hasOverlay : 1;