46 class QTreeWidgetItem;
93 QComboBox* spectra_combo_box_ =
nullptr;
all tabs need to implement this interface
Definition: DataSelectionTabs.h:57
Class that stores the data for one layer.
Definition: LayerData.h:96
DataType
Definition: LayerData.h:103
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
Hierarchical visualization and selection of spectra.
Definition: SpectraTreeTab.h:59
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:96
void chromsDoubleClicked(std::vector< int > indices)
void showSpectrumAsNew1D(int)
bool getSelectedScan(MSExperiment &exp, LayerData::DataType ¤t_type) const
~SpectraTreeTab()=default
Destructor.
void itemSelectionChange_(QTreeWidgetItem *, QTreeWidgetItem *)
emits spectrumSelected() for PEAK or chromsSelected() for CHROM data
void searchAndShow_()
searches using text box and plots the spectrum
void populateSearchBox_()
fill the search-combo-box with current column header names
bool hasData(const LayerData *layer) override
docu in base class
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(LayerData *cl) override
refresh the table using data from cl
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:48
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Comparator by m/z position.
Definition: Peak1D.h:200