46 class QTreeWidgetItem;
96 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: LayerDataBase.h:99
DataType
Definition: LayerDataBase.h:106
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:73
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:100
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 updateIndexFromCurrentLayer()
received focus e.g. through tabswitching
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:48
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Comparator by m/z position.
Definition: Peak1D.h:200