![]() |
OpenMS
2.6.0
|
A tabbed view, to browse lists of spectra or identifications. More...
#include <OpenMS/VISUAL/SpectraSelectionTabs.h>
Public Types | |
| enum | TAB_INDEX { SPECTRA_IDX = 0, IDENT_IDX = 1, AUTO_IDX } |
Public Member Functions | |
| SpectraSelectionTabs (QWidget *parent, TOPPViewBase *tv) | |
| Default constructor. More... | |
| void | update () |
| update items in the two tabs according to the currently selected layer More... | |
| void | currentTabChanged (int tab_index) |
invoked when user changes the active tab to tab_index More... | |
| void | showSpectrumAs1D (int index) |
| forwards to the TOPPView*Behaviour classes, to show a certain spectrum in 1D More... | |
| void | showSpectrumAs1D (std::vector< int > indices) |
| forwards to the TOPPView*Behaviour classes, to show a certain set of chromatograms in 1D More... | |
| void | tabBarDoubleClicked (int tab_index) |
| void | show (TAB_INDEX which) |
enable and show the which tab More... | |
| SpectraIdentificationViewWidget * | getSpectraIdentificationViewWidget () |
Private Attributes | |
Spectrum selection widgets | |
| SpectraViewWidget * | spectra_view_widget_ |
| SpectraIdentificationViewWidget * | id_view_widget_ |
| TOPPViewSpectraViewBehavior * | spectraview_behavior_ |
| TOPPView behavior for the spectra view. More... | |
| TOPPViewIdentificationViewBehavior * | idview_behaviour_ |
| TOPPView behavior for the identification view. More... | |
| TOPPViewBase * | tv_ |
| pointer to base class to access some members (going signal/slot would be cleaner) More... | |
A tabbed view, to browse lists of spectra or identifications.
| enum TAB_INDEX |
| SpectraSelectionTabs | ( | QWidget * | parent, |
| TOPPViewBase * | tv | ||
| ) |
Default constructor.
| void currentTabChanged | ( | int | tab_index | ) |
invoked when user changes the active tab to tab_index
| SpectraIdentificationViewWidget* getSpectraIdentificationViewWidget | ( | ) |
| void show | ( | TAB_INDEX | which | ) |
enable and show the which tab
Referenced by TOPPViewBase::annotateWithAMS(), and TOPPViewBase::annotateWithID().
| void showSpectrumAs1D | ( | int | index | ) |
forwards to the TOPPView*Behaviour classes, to show a certain spectrum in 1D
| void showSpectrumAs1D | ( | std::vector< int > | indices | ) |
forwards to the TOPPView*Behaviour classes, to show a certain set of chromatograms in 1D
| void tabBarDoubleClicked | ( | int | tab_index | ) |
double-click on disabled identification view –> enables it and creates an empty identification structure
| void update | ( | ) |
update items in the two tabs according to the currently selected layer
Referenced by TOPPViewBase::updateViewBar().
|
private |
|
private |
TOPPView behavior for the identification view.
|
private |
|
private |
TOPPView behavior for the spectra view.
|
private |
pointer to base class to access some members (going signal/slot would be cleaner)
1.8.16