OpenMS
TaggingVisualizer.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 
10 #pragma once
11 
12 // OpenMS_GUI config
13 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
14 
15 //OpenMS
19 
20 class QDoubleValidator;
21 
22 namespace OpenMS
23 {
29  class OPENMS_GUI_DLLAPI TaggingVisualizer :
30  public BaseVisualizerGUI,
31  public BaseVisualizer<Tagging>
32  {
33  Q_OBJECT
34 
35 public:
36 
38  TaggingVisualizer(bool editable = false, QWidget * parent = nullptr);
39 
40 public slots:
41 
42  //Docu in base class
43  void store() override;
44 
45 protected slots:
46 
48  void undo_();
49 
50 protected:
51 
53 
61  QComboBox * taggingvariant_;
63 
64  //Docu in base class
65  void update_() override;
66  };
67 
68 }
A base class for all visualizer classes.
Definition: BaseVisualizerGUI.h:40
A base class for all visualizer classes.
Definition: BaseVisualizer.h:28
Class that displays all meta information of tagging objects.
Definition: TaggingVisualizer.h:32
QTextEdit * treatmentcomment_
Definition: TaggingVisualizer.h:55
QLineEdit * modificationname_
Definition: TaggingVisualizer.h:56
QLineEdit * modificationmass_
Definition: TaggingVisualizer.h:57
QComboBox * taggingvariant_
Definition: TaggingVisualizer.h:61
QLineEdit * taggingmass_shift_
Definition: TaggingVisualizer.h:60
QLineEdit * treatmenttype_
Definition: TaggingVisualizer.h:54
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
TaggingVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
QLineEdit * modificationAA_
Definition: TaggingVisualizer.h:59
QComboBox * modificationspecificity_
Definition: TaggingVisualizer.h:58
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19