![]() |
OpenMS
2.6.0
|
Hierarchical visualization and selection of spectra. More...
#include <OpenMS/VISUAL/SpectraViewWidget.h>
Signals | |
| void | spectrumSelected (int) |
| void | spectrumSelected (std::vector< int > indices) |
| void | spectrumDoubleClicked (int) |
| void | spectrumDoubleClicked (std::vector< int > indices) |
| void | showSpectrumAs1D (int) |
| void | showSpectrumAs1D (std::vector< int > indices) |
| void | showSpectrumMetaData (int) |
Public Member Functions | |
| SpectraViewWidget (QWidget *parent=nullptr) | |
| Constructor. More... | |
| ~SpectraViewWidget ()=default | |
| Destructor. More... | |
| QTreeWidget * | getTreeWidget () |
| QComboBox * | getComboBox () |
| void | updateEntries (const LayerData &cl) |
| void | clear () |
| remove all visible data More... | |
| bool | hasData () const |
| do we have data to show? More... | |
Private Slots | |
| void | populateSearchBox_ () |
| fill the search-combo-box with current column header names More... | |
| 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 &) |
| allows to show/hide columns More... | |
| 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... | |
| bool | has_data_ = false |
| do we currently show data? More... | |
| const PeakMap * | last_peakmap_ = nullptr |
| remember the last PeakMap that we used to fill the spectra list (and avoid rebuilding it) More... | |
Hierarchical visualization and selection of spectra.
| SpectraViewWidget | ( | QWidget * | parent = nullptr | ) |
Constructor.
|
default |
Destructor.
| void clear | ( | ) |
remove all visible data
| QComboBox* getComboBox | ( | ) |
| QTreeWidget* getTreeWidget | ( | ) |
Referenced by TOPPViewBase::copyLayer().
|
inline |
do we have data to show?
References SpectraViewWidget::has_data_.
|
privateslot |
fill the search-combo-box with current column header names
|
privateslot |
searches using text box and plots the spectrum
|
signal |
|
signal |
|
signal |
|
privateslot |
allows to show/hide columns
|
privateslot |
|
signal |
|
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 |
|
signal |
|
privateslot |
| void updateEntries | ( | const LayerData & | cl | ) |
|
private |
do we currently show data?
Referenced by SpectraViewWidget::hasData().
|
private |
remember the last PeakMap that we used to fill the spectra list (and avoid rebuilding it)
|
private |
cache to store mapping of chromatogram precursors to chromatogram indices
|
private |
|
private |
|
private |
1.8.16