OpenMS
HPLCVisualizer.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, 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 
14 //OpenMS
15 #include <OpenMS/METADATA/HPLC.h>
18 
19 
20 namespace OpenMS
21 {
27  class OPENMS_GUI_DLLAPI HPLCVisualizer :
28  public BaseVisualizerGUI,
29  public BaseVisualizer<HPLC>
30  {
31  Q_OBJECT
32 
33 public:
34 
36  HPLCVisualizer(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 for HPLC objects.
Definition: HPLCVisualizer.h:30
void store() override
QLineEdit * hplctemperature_
Definition: HPLCVisualizer.h:54
QLineEdit * hplcinstrument_
Definition: HPLCVisualizer.h:52
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
QLineEdit * hplcflux_
Definition: HPLCVisualizer.h:56
QTextEdit * hplccomment_
Definition: HPLCVisualizer.h:57
QLineEdit * hplccolumn_
Definition: HPLCVisualizer.h:53
QLineEdit * hplcpressure_
Definition: HPLCVisualizer.h:55
HPLCVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22