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 setContainProcess(
bool);
57 void setSelected(
bool arg);
58 void setStatus(ExecutionStatus);
59 void disableOverlay();
62 void dropReceived(
const QMimeData& arg_1)
63 E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, dropReceived, arg_1)
64 void startCreateMode() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, startCreateMode)
65 void startCreateGraphalMode()
66 E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, startCreateGraphalMode)
67 void startCreateSequence() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, startCreateSequence)
70 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
71 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
72 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
73 void hoverEnterEvent(QGraphicsSceneHoverEvent* event)
override;
74 void hoverLeaveEvent(QGraphicsSceneHoverEvent* event)
override;
75 void dragEnterEvent(QGraphicsSceneDragDropEvent* event)
override;
76 void dragLeaveEvent(QGraphicsSceneDragDropEvent* event)
override;
77 void dropEvent(QGraphicsSceneDragDropEvent* event)
override;
80 void setDilatation(
bool);
88 bool m_containMessage : 1;
89 bool m_containProcess : 1;
92 bool m_hasOverlay : 1;