|
Motiv
Marvelous OTF2 Traces Interactive Visualizer
|
Indicator for collective communications. More...
#include <SlotIndicator.hpp>


Public Member Functions | |
| SlotIndicator (const QRectF &rect, Slot *representedSlot, QGraphicsItem *parent=nullptr) | |
| Creates a new instance of the SlotIndicator class. More... | |
Public Member Functions inherited from GenericIndicator< Slot, QGraphicsRectItem > | |
| GenericIndicator (Slot *element, QGraphicsItem *parent=nullptr) | |
| void | setOnDoubleClick (const std::function< void(Slot *)> &fn) |
| Registers a double click handler. More... | |
| void | setOnSelected (const std::function< void(Slot *)> &fn) |
| Registers a select handler. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GenericIndicator< Slot, QGraphicsRectItem > | |
| void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override |
| virtual bool | respondToEvent (QPointF) |
| Checks whether the indicator should react to an event at a given point. More... | |
Indicator for collective communications.
A slot is indicated by a rectangle.
Definition at line 34 of file SlotIndicator.hpp.
| SlotIndicator::SlotIndicator | ( | const QRectF & | rect, |
| Slot * | representedSlot, | ||
| QGraphicsItem * | parent = nullptr |
||
| ) |
Creates a new instance of the SlotIndicator class.
| rect | The rect the slot should be rendered |
| representedSlot | The Slot object the indicator is representing |
| parent | The parent QGraphicsItem |
Definition at line 25 of file SlotIndicator.cpp.