MCPcopy Create free account
hub / github.com/KDE/labplot / plotData

Method plotData

src/frontend/notebook/NotebookView.cpp:350–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350void 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
360void NotebookView::showStatistics() {
361 if (!m_contextMenuColumn)

Callers

nothing calls this directly

Calls 3

setSelectedColumnsMethod · 0.80
execMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected