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

Method editSelectedGraph

re/graphingwindow.cpp:549–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549void GraphingWindow::editSelectedGraph()
550{
551 if (ui->graphingView->selectedGraphs().size() > 0)
552 {
553 int idx = -1;
554 for (int i = 0; i < graphParams.count(); i++)
555 {
556 if (graphParams[i].ref == ui->graphingView->selectedGraphs().first())
557 {
558 idx = i;
559 break;
560 }
561 }
562
563 qDebug() << "Selected index for editing: " << idx;
564
565 showParamsDialog(idx);
566
567 //ui->graphingView->replot();
568 }
569}
570
571void GraphingWindow::removeAllGraphs()
572{

Callers

nothing calls this directly

Calls 2

selectedGraphsMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected