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

Method contextMenuEvent

kdevplatform/documentation/standarddocumentationview.cpp:367–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367void StandardDocumentationView::contextMenuEvent(QContextMenuEvent* event)
368{
369 auto menu = createStandardContextMenu();
370 if (!menu) {
371 return;
372 }
373
374 menu->setAttribute(Qt::WA_DeleteOnClose);
375 menu->popup(event->globalPos());
376}
377
378void StandardDocumentationView::updateZoomFactor(double zoomFactor)
379{

Callers

nothing calls this directly

Calls 1

setAttributeMethod · 0.80

Tested by

no test coverage detected