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

Method itemDoubleClicked_

src/openms_gui/source/VISUAL/SpectraTreeTab.cpp:214–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 }
213
214 void SpectraTreeTab::itemDoubleClicked_(QTreeWidgetItem* current)
215 {
216 if (current == nullptr)
217 {
218 return;
219 }
220 IndexExtrator ie(current);
221 if (!ie.hasChromIndices())
222 {
223 emit spectrumDoubleClicked(ie.spectrum_index);
224 }
225 else
226 { // open several chromatograms at once
227 emit chromsDoubleClicked(listToVec(ie.res));
228 }
229 }
230
231 void SpectraTreeTab::spectrumContextMenu_(const QPoint& pos)
232 {

Callers

nothing calls this directly

Calls 2

listToVecFunction · 0.85
hasChromIndicesMethod · 0.80

Tested by

no test coverage detected