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

Method showStatistics

src/frontend/notebook/NotebookView.cpp:360–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360void NotebookView::showStatistics() {
361 if (!m_contextMenuColumn)
362 return;
363
364 QString dlgTitle(i18n("%1: variable statistics", m_contextMenuColumn->name()));
365 auto* dlg = new StatisticsDialog(dlgTitle, QVector<Column*>({m_contextMenuColumn}));
366 dlg->setModal(true);
367 dlg->show();
368 QApplication::processEvents(QEventLoop::AllEvents, 0);
369 QTimer::singleShot(0, this, [=]() {
370 dlg->showStatistics();
371 });
372}

Callers 2

showColumnStatisticsMethod · 0.45
showRowStatisticsMethod · 0.45

Calls 2

showMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected