| 29 | } |
| 30 | |
| 31 | void FeatureEditDialog::setFeature(const Feature & feature) |
| 32 | { |
| 33 | //copy feature |
| 34 | feature_ = feature; |
| 35 | //update widgets according to feature data |
| 36 | ui_->mz_->setValue(feature_.getMZ()); |
| 37 | ui_->rt_->setValue(feature_.getRT()); |
| 38 | ui_->int_->setValue(feature_.getIntensity()); |
| 39 | ui_->charge_->setValue(feature_.getCharge()); |
| 40 | } |
| 41 | |
| 42 | const Feature & FeatureEditDialog::getFeature() const |
| 43 | { |
no test coverage detected