MCPcopy Create free account
hub / github.com/KDE/labplot / contextMenuEvent

Method contextMenuEvent

src/backend/worksheet/plots/cartesian/Plot.cpp:76–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void PlotPrivate::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) {
77 if (q->activatePlot(event->pos())) {
78 q->createContextMenu()->exec(event->screenPos());
79 return;
80 }
81 QGraphicsItem::contextMenuEvent(event);
82}

Callers

nothing calls this directly

Calls 3

execMethod · 0.80
activatePlotMethod · 0.45
createContextMenuMethod · 0.45

Tested by

no test coverage detected