OpenMS
2.5.0
|
Hierarchical visualization and selection of spectra. More...
#include <OpenMS/VISUAL/SpectraViewWidget.h>
Signals | |
void | spectrumSelected (int) |
void | spectrumSelected (std::vector< int, std::allocator< int > > indices) |
void | spectrumDoubleClicked (int) |
void | spectrumDoubleClicked (std::vector< int, std::allocator< int > > indices) |
void | showSpectrumAs1D (int) |
void | showSpectrumAs1D (std::vector< int, std::allocator< int > > indices) |
void | showSpectrumMetaData (int) |
Public Member Functions | |
SpectraViewWidget (QWidget *parent=nullptr) | |
Constructor. More... | |
~SpectraViewWidget () override | |
Destructor. More... | |
QTreeWidget * | getTreeWidget () |
QComboBox * | getComboBox () |
void | updateEntries (const LayerData &cl) |
Private Slots | |
void | spectrumSearchText_ () |
searches for rows containing a search text (from spectra_search_box_); called when text search box is used More... | |
void | spectrumBrowserHeaderContextMenu_ (const QPoint &) |
void | spectrumSelectionChange_ (QTreeWidgetItem *, QTreeWidgetItem *) |
void | searchAndShow_ () |
searches using text box and plots the spectrum More... | |
void | spectrumDoubleClicked_ (QTreeWidgetItem *) |
called upon double click; emits spectrumDoubleClicked() after some checking (opens a new Tab) More... | |
void | spectrumContextMenu_ (const QPoint &) |
Private Attributes | |
QLineEdit * | spectra_search_box_ |
QComboBox * | spectra_combo_box_ |
QTreeWidget * | spectra_treewidget_ |
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 More... | |
Hierarchical visualization and selection of spectra.
SpectraViewWidget | ( | QWidget * | parent = nullptr | ) |
Constructor.
|
override |
Destructor.
QComboBox* getComboBox | ( | ) |
Referenced by TOPPViewBase::updateViewBar().
QTreeWidget* getTreeWidget | ( | ) |
Referenced by TOPPViewBase::copyLayer(), and TOPPViewBase::updateViewBar().
|
privateslot |
searches using text box and plots the spectrum
|
signal |
|
signal |
|
privateslot |
|
privateslot |
|
signal |
|
privateslot |
called upon double click; emits spectrumDoubleClicked() after some checking (opens a new Tab)
|
privateslot |
searches for rows containing a search text (from spectra_search_box_); called when text search box is used
|
signal |
|
privateslot |
void updateEntries | ( | const LayerData & | cl | ) |
Referenced by TOPPViewBase::updateViewBar().
|
private |
cache to store mapping of chromatogram precursors to chromatogram indices
|
private |
|
private |
|
private |