OpenMS
ProteinIdentificationVisualizer.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg $
6 // $Authors: Marc Sturm $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 // OpenMS_GUI config
12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
13 
14 //OpenMS
18 
19 namespace OpenMS
20 {
21  class MetaDataBrowser;
22 
28  class OPENMS_GUI_DLLAPI ProteinIdentificationVisualizer :
29  public BaseVisualizerGUI,
30  public BaseVisualizer<ProteinIdentification>
31  {
32  Q_OBJECT
33 
34 public:
36  ProteinIdentificationVisualizer(bool editable = false, QWidget * parent = 0, MetaDataBrowser * caller = nullptr);
37 
39  void load(ProteinIdentification & s, int tree_item_id);
40 
41 public slots:
42 
43  //Docu in base class
44  void store() override;
45 
46 protected slots:
47 
55  void updateTree_();
56 
58  void undo_();
59 
60 protected:
61 
65  int tree_id_;
66 
68 
75  QComboBox * higher_better_;
76 
84  QComboBox * mass_type_;
87 
90  };
91 }
A base class for all visualizer classes.
Definition: BaseVisualizerGUI.h:40
A base class for all visualizer classes.
Definition: BaseVisualizer.h:28
A meta data visualization widget.
Definition: MetaDataBrowser.h:80
Class that displays all meta information for ProteinIdentification objects.
Definition: ProteinIdentificationVisualizer.h:31
ProteinIdentificationVisualizer(bool editable=false, QWidget *parent=0, MetaDataBrowser *caller=nullptr)
Constructor.
QLineEdit * identifier_
Definition: ProteinIdentificationVisualizer.h:73
QLineEdit * db_version_
Definition: ProteinIdentificationVisualizer.h:78
QComboBox * mass_type_
Definition: ProteinIdentificationVisualizer.h:84
QLineEdit * identification_date_
Definition: ProteinIdentificationVisualizer.h:71
QLineEdit * engine_version_
Definition: ProteinIdentificationVisualizer.h:70
QLineEdit * enzyme_
Definition: ProteinIdentificationVisualizer.h:85
QComboBox * higher_better_
Definition: ProteinIdentificationVisualizer.h:75
QLineEdit * charges_
Definition: ProteinIdentificationVisualizer.h:80
QLineEdit * score_type_
Definition: ProteinIdentificationVisualizer.h:74
QLineEdit * identification_threshold_
Definition: ProteinIdentificationVisualizer.h:72
QLineEdit * engine_
Definition: ProteinIdentificationVisualizer.h:69
QLineEdit * missed_cleavages_
Definition: ProteinIdentificationVisualizer.h:81
int tree_id_
The id of the item in the tree.
Definition: ProteinIdentificationVisualizer.h:65
void undo_()
Undo the changes made in the GUI.
void updateTree_()
Updates the tree by calling MetaDataBrowser::updateProteinHits()
QLineEdit * peak_tolerance_
Definition: ProteinIdentificationVisualizer.h:82
QLineEdit * filter_threshold_
Threshold for filtering by score.
Definition: ProteinIdentificationVisualizer.h:89
MetaDataBrowser * pidv_caller_
Pointer to MetaDataBrowser.
Definition: ProteinIdentificationVisualizer.h:63
QLineEdit * db_
Definition: ProteinIdentificationVisualizer.h:77
QLineEdit * taxonomy_
Definition: ProteinIdentificationVisualizer.h:79
QLineEdit * precursor_tolerance_
Definition: ProteinIdentificationVisualizer.h:83
void load(ProteinIdentification &s, int tree_item_id)
Loads the meta data from the object to the viewer. Gets the id of the item in the tree as parameter.
Representation of a protein identification run.
Definition: ProteinIdentification.h:50
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19