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

Method update_

src/openms_gui/source/VISUAL/VISUALIZER/SourceFileVisualizer.cpp:38–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void SourceFileVisualizer::update_()
39 {
40 name_of_file_->setText(temp_.getNameOfFile().c_str());
41 path_to_file_->setText(temp_.getPathToFile().c_str());
42 file_size_->setText(String(temp_.getFileSize()).c_str());
43 file_type_->setText(temp_.getFileType().c_str());
44 checksum_->setText(temp_.getChecksum().c_str());
45 native_id_type_->setText(temp_.getNativeIDType().c_str());
46
47 if (!isEditable())
48 {
49 fillComboBox_(checksum_type_, &temp_.NamesOfChecksumType[temp_.getChecksumType()], 1);
50 }
51 else
52 {
53 fillComboBox_(checksum_type_, temp_.NamesOfChecksumType, SourceFile::SIZE_OF_CHECKSUMTYPE);
54 checksum_type_->setCurrentIndex(temp_.getChecksumType());
55 }
56 }
57
58 void SourceFileVisualizer::store()
59 {

Callers

nothing calls this directly

Calls 5

setTextMethod · 0.80
getFileSizeMethod · 0.80
getChecksumTypeMethod · 0.80
setCurrentIndexMethod · 0.80
StringClass · 0.50

Tested by

no test coverage detected