19 ,
public Nano::Observer
29 QGraphicsItem* parent);
33 void on_drop(QPointF pos,
const QMimeData* data);
34 void on_playPercentageChanged(
double t,
TimeVal parent_dur);
37 void recenterRelativeToView();
39 QRectF enclosingRect()
const noexcept;
41 QGraphicsItem& nodeContainer()
const noexcept {
return *m_container; }
46 void on_zoomRatioChanged(ZoomRatio ratio);
48 void dragEnterEvent(QGraphicsSceneDragDropEvent* event)
override;
49 void dragLeaveEvent(QGraphicsSceneDragDropEvent* event)
override;
50 void dragMoveEvent(QGraphicsSceneDragDropEvent* event)
override;
51 void dropEvent(QGraphicsSceneDragDropEvent* event)
override;
53 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
54 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
55 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
56 void contextMenuEvent(QGraphicsSceneContextMenuEvent* event)
override;
60 ItemsToShow m_itemsToShow{};
61 std::vector<Process::NodeItem*> m_nodeItems;
62 QGraphicsItem* m_container{};
63 QPointF m_pressedPos{};
Definition ProcessContext.hpp:12