18#include "CollectiveCommunicationIndicator.hpp"
20#include <QGraphicsScene>
21#include <QGraphicsSceneMouseEvent>
24 QGraphicsItem *parent)
26 setAcceptHoverEvents(
false);
33 return scene()->items(mousePos).length() == 1;
A class representing an MPI collective operation.
bool respondToEvent(QPointF mousePos) override
Checks whether the indicator should react to an event at a given point.
CollectiveCommunicationIndicator(CollectiveCommunicationEvent *element, QGraphicsItem *parent=nullptr)
Creates a new instance of the CollectiveCommunicationIdicator class.
A generic indicator bundling common interaction behaviours.