| 39 | } |
| 40 | |
| 41 | void ModificationVisualizer::update_() |
| 42 | { |
| 43 | if (!isEditable()) |
| 44 | { |
| 45 | fillComboBox_(modificationspecificity_, &temp_.NamesOfSpecificityType[temp_.getSpecificityType()], 1); |
| 46 | } |
| 47 | else |
| 48 | { |
| 49 | fillComboBox_(modificationspecificity_, temp_.NamesOfSpecificityType, Modification::SIZE_OF_SPECIFICITYTYPE); |
| 50 | modificationspecificity_->setCurrentIndex(temp_.getSpecificityType()); |
| 51 | } |
| 52 | treatmenttype_->setText(temp_.getType().c_str()); |
| 53 | treatmenttype_->setReadOnly(true); |
| 54 | treatmentcomment_->setText(temp_.getComment().c_str()); |
| 55 | modificationname_->setText(temp_.getReagentName().c_str()); |
| 56 | modificationmass_->setText(String(temp_.getMass()).c_str()); |
| 57 | modificationAA_->setText(temp_.getAffectedAminoAcids().c_str()); |
| 58 | } |
| 59 | |
| 60 | void ModificationVisualizer::store() |
| 61 | { |
nothing calls this directly
no test coverage detected