| 63 | } |
| 64 | |
| 65 | void SampleVisualizer::store() |
| 66 | { |
| 67 | ptr_->setName(samplename_->text()); |
| 68 | ptr_->setNumber(samplenumber_->text()); |
| 69 | ptr_->setOrganism(sampleorganism_->text()); |
| 70 | ptr_->setComment(samplecomment_->toPlainText()); |
| 71 | ptr_->setState((Sample::SampleState)samplestate_->currentIndex()); |
| 72 | ptr_->setMass(samplemass_->text().toFloat()); |
| 73 | ptr_->setVolume(samplevolume_->text().toFloat()); |
| 74 | ptr_->setConcentration(sampleconcentration_->text().toFloat()); |
| 75 | |
| 76 | temp_ = (*ptr_); |
| 77 | } |
| 78 | |
| 79 | void SampleVisualizer::undo_() |
| 80 | { |
nothing calls this directly
no test coverage detected