A meta data visualization widget. More...
#include <OpenMS/VISUAL/MetaDataBrowser.h>
Public Slots | |
| void | setStatus (std::string status) |
| Set a list of error strings due to invalid date format. | |
Public Member Functions | |
| MetaDataBrowser (bool editable=FALSE, QWidget *parent=0, bool modal=FALSE) | |
| Constructor with flag for edit mode. | |
| template<class PeakType > | |
| void | add (MSExperiment< PeakType > &exp) |
| Adds a peak map. | |
| template<class PeakType > | |
| void | add (MSSpectrum< PeakType > &spectrum) |
| Adds a peak spectrum. | |
| template<class FeatureType > | |
| void | add (FeatureMap< FeatureType > &map) |
| Adds a feature map. | |
| void | add (Feature &feature) |
| Adds a feature. | |
| void | add (ConsensusFeature &feature) |
| Adds a consensus feature. | |
| void | add (ConsensusMap &map) |
| Adds a consensus map. | |
| template<class MetaDataType > | |
| void | add (MetaDataType &meta_data_object) |
| A generic function to add data. | |
| bool | isEditable () |
| Check if mode is editable or not. | |
Protected Slots | |
| void | showDetails_ () |
| Raises the corresponding viewer from the widget stack according to the item selected in the tree. | |
| void | saveAll_ () |
| Saves all changes and close explorer. | |
Protected Member Functions | |
| template<typename ContainerType > | |
| void | visualizeAll_ (ContainerType &container, QTreeWidgetItem *parent) |
| Visualizes all elements of a container. | |
| void | connectVisualizer_ (BaseVisualizerGUI *ptr) |
| Connects the Signals of all visualier classes with Slot setStatus(). | |
| void | filterHits_ (DoubleReal threshold, bool higher_better, int tree_item_id) |
| Filters hits according to a score threshold. Takes the score orientation into account. | |
| void | showAllHits_ (int tree_item_id) |
| Shows hits. | |
Visualizer for the different classes | |
| void | visualize_ (ExperimentalSettings &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (SpectrumSettings &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (MetaInfoInterface &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Sample &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (HPLC &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Digestion &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Modification &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Tagging &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Gradient &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Software &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (ScanWindow &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (SourceFile &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (ContactPerson &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Instrument &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (IonSource &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (IonDetector &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (MassAnalyzer &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (DataProcessing &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (ProteinIdentification &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (ProteinHit &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (PeptideHit &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Acquisition &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (AcquisitionInfo &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (MetaInfoDescription &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Precursor &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (Product &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (InstrumentSettings &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (PeptideIdentification &meta, QTreeWidgetItem *parent=0) |
| void | visualize_ (DocumentIdentifier &meta, QTreeWidgetItem *parent=0) |
Protected Attributes | |
| std::string | status_list_ |
| A list of setting errors due to invalid formats. | |
| bool | editable_ |
| Indicates the mode. | |
| QStackedWidget * | ws_ |
| A widgetstack that keeps track of all widgets. | |
| QPushButton * | saveallbutton_ |
| Save button. | |
| QPushButton * | closebutton_ |
| Close Button. | |
| QPushButton * | cancelbutton_ |
| Cancel Button. | |
| QPushButton * | undobutton_ |
| Undo Button. | |
| QTreeWidget * | treeview_ |
| The tree. | |
Friends | |
| class | ProteinIdentificationVisualizer |
| Defines friend classess that can use the functionality of the subclasses. | |
| class | PeptideIdentificationVisualizer |
A meta data visualization widget.
It contains a tree view showing all objects of the meta data to be viewed in hierarchical order.
The meta info data of the tree items are shown in the right part of the viewer, when they are selected in the tree.
If the data has beed modified exec() returns true . Otherwise false is returned.
| MetaDataBrowser | ( | bool | editable = FALSE, |
|
| QWidget * | parent = 0, |
|||
| bool | modal = FALSE | |||
| ) |
Constructor with flag for edit mode.
| void add | ( | MSExperiment< PeakType > & | exp | ) | [inline] |
Adds a peak map.
Referenced by TOPPViewBase::metadataDatabaseDialog(), and TOPPViewBase::metadataFileDialog().
| void add | ( | MSSpectrum< PeakType > & | spectrum | ) | [inline] |
Adds a peak spectrum.
References MSSpectrum< PeakT >::getFloatDataArrays(), MSSpectrum< PeakT >::getIntegerDataArrays(), and MSSpectrum< PeakT >::getStringDataArrays().
| void add | ( | Feature & | feature | ) |
Adds a feature.
| void add | ( | ConsensusFeature & | feature | ) |
Adds a consensus feature.
| void add | ( | FeatureMap< FeatureType > & | map | ) | [inline] |
Adds a feature map.
References FeatureMap< FeatureT >::getProteinIdentifications(), and FeatureMap< FeatureT >::getUnassignedPeptideIdentifications().
| void add | ( | ConsensusMap & | map | ) |
Adds a consensus map.
| void add | ( | MetaDataType & | meta_data_object | ) | [inline] |
A generic function to add data.
The meta data information of all classes that for which a visualize_ method exists can be visualized.
| void connectVisualizer_ | ( | BaseVisualizerGUI * | ptr | ) | [protected] |
Connects the Signals of all visualier classes with Slot setStatus().
| void filterHits_ | ( | DoubleReal | threshold, | |
| bool | higher_better, | |||
| int | tree_item_id | |||
| ) | [protected] |
Filters hits according to a score threshold. Takes the score orientation into account.
| bool isEditable | ( | ) |
Check if mode is editable or not.
| void saveAll_ | ( | ) | [protected, slot] |
Saves all changes and close explorer.
| void setStatus | ( | std::string | status | ) | [slot] |
Set a list of error strings due to invalid date format.
| void showAllHits_ | ( | int | tree_item_id | ) | [protected] |
Shows hits.
| void showDetails_ | ( | ) | [protected, slot] |
Raises the corresponding viewer from the widget stack according to the item selected in the tree.
| void visualize_ | ( | ProteinHit & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | ProteinIdentification & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | DataProcessing & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | MassAnalyzer & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | IonDetector & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | IonSource & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Instrument & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | PeptideHit & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | SourceFile & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | InstrumentSettings & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Software & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Gradient & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Tagging & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Modification & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Digestion & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | MetaInfoDescription & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Sample & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | MetaInfoInterface & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | SpectrumSettings & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | ContactPerson & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Precursor & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | AcquisitionInfo & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Product & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | ScanWindow & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | DocumentIdentifier & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | ExperimentalSettings & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | Acquisition & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | HPLC & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualize_ | ( | PeptideIdentification & | meta, | |
| QTreeWidgetItem * | parent = 0 | |||
| ) | [protected] |
| void visualizeAll_ | ( | ContainerType & | container, | |
| QTreeWidgetItem * | parent | |||
| ) | [inline, protected] |
Visualizes all elements of a container.
friend class PeptideIdentificationVisualizer [friend] |
friend class ProteinIdentificationVisualizer [friend] |
Defines friend classess that can use the functionality of the subclasses.
QPushButton* cancelbutton_ [protected] |
Cancel Button.
QPushButton* closebutton_ [protected] |
Close Button.
bool editable_ [protected] |
Indicates the mode.
QPushButton* saveallbutton_ [protected] |
Save button.
std::string status_list_ [protected] |
A list of setting errors due to invalid formats.
QTreeWidget* treeview_ [protected] |
The tree.
QPushButton* undobutton_ [protected] |
Undo Button.
QStackedWidget* ws_ [protected] |
A widgetstack that keeps track of all widgets.
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1 |