OpenMS
DigestionVisualizer.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 
20 namespace OpenMS
21 {
27  class OPENMS_GUI_DLLAPI DigestionVisualizer :
28  public BaseVisualizerGUI,
29  public BaseVisualizer<Digestion>
30  {
31  Q_OBJECT
32 
33 public:
34 
36  DigestionVisualizer(bool editable = false, QWidget * parent = nullptr);
37 
38 public slots:
39 
40  //Docu in base class
41  void store() override;
42 
43 protected slots:
44 
46  void undo_();
47 
48 protected:
49 
51 
59 
60  //Docu in base class
61  void update_() override;
62  };
63 
64 }
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 digestion objects.
Definition: DigestionVisualizer.h:30
QTextEdit * treatmentcomment_
Definition: DigestionVisualizer.h:53
QLineEdit * digestionenzyme_
Definition: DigestionVisualizer.h:54
QLineEdit * digestionPH_
Definition: DigestionVisualizer.h:57
QLineEdit * digestiontemperature_
Definition: DigestionVisualizer.h:56
QLineEdit * treatmenttype_
Definition: DigestionVisualizer.h:52
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
QLineEdit * digestiontime_
Definition: DigestionVisualizer.h:55
DigestionVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19