MCPcopy Create free account
hub / github.com/comaps/comaps / OnGetStatistics

Method OnGetStatistics

qt/mainwindow.cpp:721–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719}
720
721void MainWindow::OnGetStatistics()
722{
723 try
724 {
725 QString text = build_style::GetCurrentStyleStatistics();
726 InfoDialog dlg(QString("Style statistics"), text, NULL);
727 dlg.exec();
728 }
729 catch (std::exception & e)
730 {
731 QMessageBox msgBox;
732 msgBox.setWindowTitle("Error");
733 msgBox.setText(e.what());
734 msgBox.setStandardButtons(QMessageBox::Ok);
735 msgBox.setDefaultButton(QMessageBox::Ok);
736 msgBox.exec();
737 }
738}
739
740void MainWindow::OnRunTests()
741{

Callers

nothing calls this directly

Calls 2

whatMethod · 0.45

Tested by

no test coverage detected