* Updates count of assigned/free scientists and available lab space. */
| 206 | * Updates count of assigned/free scientists and available lab space. |
| 207 | */ |
| 208 | void ResearchInfoState::setAssignedScientist() |
| 209 | { |
| 210 | _txtAvailableScientist->setText(tr("STR_SCIENTISTS_AVAILABLE_UC").arg(_base->getAvailableScientists())); |
| 211 | _txtAvailableSpace->setText(tr("STR_LABORATORY_SPACE_AVAILABLE_UC").arg(_base->getFreeLaboratories())); |
| 212 | _txtAllocatedScientist->setText(tr("STR_SCIENTISTS_ALLOCATED").arg(_project->getAssigned())); |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * Increases or decreases the scientists according the mouse-wheel used. |
nothing calls this directly
no test coverage detected