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

Method onCustomMenuValues

dbc/dbcsignaleditor.cpp:339–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void DBCSignalEditor::onCustomMenuValues(QPoint point)
340{
341 QMenu *menu = new QMenu(this);
342 menu->setAttribute(Qt::WA_DeleteOnClose);
343
344 menu->addAction(tr("Delete currently selected value"), this, SLOT(deleteCurrentValue()));
345
346 menu->popup(ui->valuesTable->mapToGlobal(point));
347}
348
349void DBCSignalEditor::addNewSignal()
350{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected