| 348 | } |
| 349 | |
| 350 | void NotebookView::plotData(QAction* action) { |
| 351 | if (!m_contextMenuColumn) |
| 352 | return; |
| 353 | |
| 354 | auto type = static_cast<Plot::PlotType>(action->data().toInt()); |
| 355 | auto* dlg = new PlotDataDialog(m_notebook, type); |
| 356 | dlg->setSelectedColumns(QVector<Column*>({m_contextMenuColumn})); |
| 357 | dlg->exec(); |
| 358 | } |
| 359 | |
| 360 | void NotebookView::showStatistics() { |
| 361 | if (!m_contextMenuColumn) |
nothing calls this directly
no test coverage detected