OpenMS
2.7.0
|
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. More... | |
Public Member Functions | |
MetaDataBrowser (bool editable=false, QWidget *parent=nullptr, bool modal=false) | |
Constructor with flag for edit mode. More... | |
void | add (PeakMap &exp) |
Adds a peak map. More... | |
void | add (MSSpectrum &spectrum) |
Adds a peak spectrum. More... | |
void | add (FeatureMap &map) |
Adds a feature map. More... | |
void | add (Feature &feature) |
Adds a feature. More... | |
void | add (ConsensusFeature &feature) |
Adds a consensus feature. More... | |
void | add (ConsensusMap &map) |
Adds a consensus map. More... | |
template<class MetaDataType > | |
void | add (MetaDataType &meta_data_object) |
A generic function to add data. More... | |
bool | isEditable () |
Check if mode is editable or not. More... | |
Protected Slots | |
void | showDetails_ () |
Raises the corresponding viewer from the widget stack according to the item selected in the tree. More... | |
void | saveAll_ () |
Saves all changes and close explorer. More... | |
Friends | |
class | ProteinIdentificationVisualizer |
Defines friend classes that can use the functionality of the subclasses. More... | |
class | PeptideIdentificationVisualizer |
Visualizer for the different classes | |
std::string | status_list_ |
A list of setting errors due to invalid formats. More... | |
bool | editable_ |
Indicates the mode. More... | |
QStackedWidget * | ws_ |
A widgetstack that keeps track of all widgets. More... | |
QPushButton * | saveallbutton_ |
Save button. More... | |
QPushButton * | closebutton_ |
Close Button. More... | |
QPushButton * | cancelbutton_ |
Cancel Button. More... | |
QPushButton * | undobutton_ |
Undo Button. More... | |
QTreeWidget * | treeview_ |
The tree. More... | |
void | visualize_ (ExperimentalSettings &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (SpectrumSettings &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (MetaInfoInterface &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Sample &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (HPLC &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Digestion &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Modification &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Tagging &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Gradient &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Software &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (ScanWindow &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (SourceFile &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (ContactPerson &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Instrument &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (IonSource &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (IonDetector &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (MassAnalyzer &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (DataProcessingPtr &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (ProteinIdentification &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (ProteinHit &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (PeptideHit &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Acquisition &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (AcquisitionInfo &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (MetaInfoDescription &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Precursor &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (Product &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (InstrumentSettings &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (PeptideIdentification &meta, QTreeWidgetItem *parent=nullptr) |
void | visualize_ (DocumentIdentifier &meta, QTreeWidgetItem *parent=nullptr) |
template<typename ContainerType > | |
void | visualizeAll_ (ContainerType &container, QTreeWidgetItem *parent) |
Visualizes all elements of a container. More... | |
void | connectVisualizer_ (BaseVisualizerGUI *ptr) |
Connects the Signals of all visualiser classes with Slot setStatus() More... | |
void | filterHits_ (double threshold, bool higher_better, int tree_item_id) |
Filters hits according to a score threshold. Takes the score orientation into account. More... | |
void | showAllHits_ (int tree_item_id) |
Shows hits. More... | |
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 been modified exec() returns true . Otherwise false is returned.
MetaDataBrowser | ( | bool | editable = false , |
QWidget * | parent = nullptr , |
||
bool | modal = false |
||
) |
Constructor with flag for edit mode.
void add | ( | ConsensusFeature & | feature | ) |
Adds a consensus feature.
void add | ( | ConsensusMap & | map | ) |
Adds a consensus map.
void add | ( | Feature & | feature | ) |
Adds a feature.
|
inline |
Adds a feature map.
References FeatureMap::getProteinIdentifications(), and FeatureMap::getUnassignedPeptideIdentifications().
|
inline |
A generic function to add data.
The meta data information of all classes that for which a visualize_ method exists can be visualized.
|
inline |
Adds a peak spectrum.
References MSSpectrum::getFloatDataArrays(), MSSpectrum::getIntegerDataArrays(), and MSSpectrum::getStringDataArrays().
|
inline |
Adds a peak map.
Referenced by TOPPViewBase::metadataFileDialog().
|
protected |
Connects the Signals of all visualiser classes with Slot setStatus()
|
protected |
Filters hits according to a score threshold. Takes the score orientation into account.
bool isEditable | ( | ) |
Check if mode is editable or not.
|
protectedslot |
Saves all changes and close explorer.
|
slot |
Set a list of error strings due to invalid date format.
|
protected |
Shows hits.
|
protectedslot |
Raises the corresponding viewer from the widget stack according to the item selected in the tree.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Visualizes all elements of a container.
|
friend |
|
friend |
Defines friend classes that can use the functionality of the subclasses.
|
protected |
Cancel Button.
|
protected |
Close Button.
|
protected |
Indicates the mode.
|
protected |
Save button.
|
protected |
A list of setting errors due to invalid formats.
|
protected |
The tree.
|
protected |
Undo Button.
|
protected |
A widgetstack that keeps track of all widgets.