| 719 | } |
| 720 | |
| 721 | void 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 | |
| 740 | void MainWindow::OnRunTests() |
| 741 | { |
nothing calls this directly
no test coverage detected