28 #include <QGraphicsSceneDragDropEvent>
35 using namespace YACS::ENGINE;
36 using namespace YACS::HMI;
58 bool accepted =
false;
60 if (myData && myData->hasFormat(
"yacs/subjectOutGate"))
63 if (sub && dynamic_cast<SubjectNode*>(sub))
65 event->setAccepted(
true);
67 QGraphicsItem::update();
71 event->setAccepted(accepted);
78 QGraphicsItem::update();
85 QGraphicsItem::update();
89 if(!myData->hasFormat(
"yacs/subjectOutGate"))
return;