| 547 | } |
| 548 | |
| 549 | void 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 | |
| 571 | void GraphingWindow::removeAllGraphs() |
| 572 | { |
nothing calls this directly
no test coverage detected