MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / contextMenuEvent

Method contextMenuEvent

src/widgets/WizTagBar.cpp:682–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680}
681
682void WizTagItem::contextMenuEvent(QContextMenuEvent* event)
683{
684 if (!m_menu)
685 {
686 createContextMenu();
687 }
688 event->accept();
689 m_menu->popup(mapToGlobal(event->pos()));
690 //
691 emit selectedItemChanged(this);
692}
693
694void WizTagItem::createContextMenu()
695{

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected