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

Method contextMenuEvent

src/backend/worksheet/InfoElement.cpp:1214–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1212}
1213
1214void InfoElementPrivate::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) {
1215 if (activate(event->pos())) {
1216 q->createContextMenu()->exec(event->screenPos());
1217 return;
1218 }
1219 QGraphicsItem::contextMenuEvent(event);
1220}
1221
1222void InfoElementPrivate::recalcShape() {
1223 m_shape = QPainterPath();

Callers

nothing calls this directly

Calls 2

execMethod · 0.80
createContextMenuMethod · 0.45

Tested by

no test coverage detected