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

Method update_

src/openms_gui/source/VISUAL/VISUALIZER/SampleVisualizer.cpp:43–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 void SampleVisualizer::update_()
44 {
45 if (!isEditable())
46 {
47 fillComboBox_(samplestate_, &temp_.NamesOfSampleState[temp_.getState()], 1);
48 }
49 else
50 {
51 fillComboBox_(samplestate_, temp_.NamesOfSampleState, Sample::SIZE_OF_SAMPLESTATE);
52 samplestate_->setCurrentIndex(temp_.getState());
53 }
54
55 samplename_->setText(temp_.getName().c_str());
56 samplenumber_->setText(temp_.getNumber().c_str());
57 sampleorganism_->setText(temp_.getOrganism().c_str());
58 samplecomment_->setText(temp_.getComment().c_str());
59
60 samplemass_->setText(String(temp_.getMass()).c_str());
61 samplevolume_->setText(String(temp_.getVolume()).c_str());
62 sampleconcentration_->setText(String(temp_.getConcentration()).c_str());
63 }
64
65 void SampleVisualizer::store()
66 {

Callers

nothing calls this directly

Calls 9

setCurrentIndexMethod · 0.80
setTextMethod · 0.80
getCommentMethod · 0.80
getVolumeMethod · 0.80
getConcentrationMethod · 0.80
StringClass · 0.50
getStateMethod · 0.45
getNameMethod · 0.45
getMassMethod · 0.45

Tested by

no test coverage detected