OpenMS
ModificationVisualizer.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- 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 
17 
18 namespace OpenMS
19 {
25  class OPENMS_GUI_DLLAPI ModificationVisualizer :
26  public BaseVisualizerGUI,
27  public BaseVisualizer<Modification>
28  {
29  Q_OBJECT
30 
31 public:
32 
34  ModificationVisualizer(bool editable = false, QWidget * parent = nullptr);
35 
36 public slots:
37 
38  //Docu in base class
39  void store() override;
40 
41 protected slots:
42 
44  void undo_();
45 
46 protected:
47 
49 
57 
58  //Docu in base class
59  void update_() override;
60  };
61 
62 }
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 modification objects.
Definition: ModificationVisualizer.h:28
QTextEdit * treatmentcomment_
Definition: ModificationVisualizer.h:51
QLineEdit * modificationname_
Definition: ModificationVisualizer.h:52
QLineEdit * modificationmass_
Definition: ModificationVisualizer.h:53
ModificationVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
QLineEdit * treatmenttype_
Definition: ModificationVisualizer.h:50
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
QLineEdit * modificationAA_
Definition: ModificationVisualizer.h:55
QComboBox * modificationspecificity_
Definition: ModificationVisualizer.h:54
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19