20 class QTreeWidgetItem;
70 QComboBox* spectra_combo_box_ =
nullptr;
all tabs need to implement this interface
Definition: DataSelectionTabs.h:31
Class that stores the data for one layer.
Definition: LayerDataBase.h:169
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
Hierarchical visualization and selection of spectra.
Definition: SpectraTreeTab.h:33
void showChromatogramsAsNew1D(std::vector< int > indices)
void spectrumDoubleClicked(int)
void spectrumSearchText_()
searches for rows containing a search text (from spectra_search_box_); called when text search box is...
std::map< size_t, std::map< Precursor, std::vector< Size >, Precursor::MZLess > > map_precursor_to_chrom_idx_cache_
cache to store mapping of chromatogram precursors to chromatogram indices
Definition: SpectraTreeTab.h:74
void chromsDoubleClicked(std::vector< int > indices)
void showSpectrumAsNew1D(int)
void itemSelectionChange_(QTreeWidgetItem *, QTreeWidgetItem *)
emits spectrumSelected() for PEAK or chromsSelected() for CHROM data
void searchAndShow_()
searches using text box and plots the spectrum
bool hasData(const LayerDataBase *layer) override
docu in base class
~SpectraTreeTab() override=default
Destructor.
void populateSearchBox_()
fill the search-combo-box with current column header names
void spectrumContextMenu_(const QPoint &)
Display context menu; allows to open metadata window.
void spectrumSelected(int)
void showSpectrumMetaData(int)
void chromsSelected(std::vector< int > indices)
SpectraTreeTab(QWidget *parent=nullptr)
Constructor.
void updateEntries(LayerDataBase *cl) override
refresh the table using data from cl
bool getSelectedScan(MSExperiment &exp, LayerDataBase::DataType ¤t_type) const
void clear() override
remove all visible data
void itemDoubleClicked_(QTreeWidgetItem *)
called upon double click on an item; emits spectrumDoubleClicked() or chromsDoubleClicked() after som...
A better QTreeWidget for TOPPView, which supports header context menu and conveniently adding/getting...
Definition: TreeView.h:22
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
DataType
Definition: LayerDataBase.h:73
Comparator by m/z position.
Definition: Peak1D.h:177