12 { setContextMenuPolicy(Qt::CustomContextMenu);
13 connect(
this,SIGNAL(customContextMenuRequested(
const QPoint&)),
23 QAction *
a = menu.addAction(tr(
"Reset to default"));
24 if (menu.exec(mapToGlobal(p))==
a)
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
def connect(nxgraph, k1, k2, p1=0, p2=0, kwds)
void showMenu(const QPoint &p)
void enterEvent(QEvent *event)
HelpLabel(const QString &text)
Event finding and building.