MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / setFeature

Method setFeature

src/openms_gui/source/VISUAL/DIALOGS/FeatureEditDialog.cpp:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

mouseDoubleClickEventMethod · 0.45

Calls 5

setValueMethod · 0.45
getMZMethod · 0.45
getRTMethod · 0.45
getIntensityMethod · 0.45
getChargeMethod · 0.45

Tested by

no test coverage detected