| 773 | } |
| 774 | |
| 775 | bool SimulationParametersMainWindow::checkNumSources(SimulationParameters const& parameters) |
| 776 | { |
| 777 | if (parameters.numRadiationSources == MAX_RADIATION_SOURCES) { |
| 778 | showMessage("Error", "The maximum number of radiation sources has been reached."); |
| 779 | return false; |
| 780 | } |
| 781 | return true; |
| 782 | } |
| 783 | |
| 784 | float SimulationParametersMainWindow::getMasterWidgetRefHeight() const |
| 785 | { |
nothing calls this directly
no test coverage detected