MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / contextMenuRequestGraph

Method contextMenuRequestGraph

re/flowviewwindow.cpp:297–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297void FlowViewWindow::contextMenuRequestGraph(QPoint pos)
298{
299 QMenu *menu = new QMenu(this);
300 menu->setAttribute(Qt::WA_DeleteOnClose);
301
302 menu->addAction(tr("Save image to file"), this, SLOT(saveFileGraph()));
303
304 menu->popup(ui->graphView->mapToGlobal(pos));
305}
306
307void FlowViewWindow::saveFileGraph()
308{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected