OpenMS
AcquisitionInfoVisualizer.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
18 
19 //QT
20 
21 namespace OpenMS
22 {
28  class OPENMS_GUI_DLLAPI AcquisitionInfoVisualizer :
29  public BaseVisualizerGUI,
30  public BaseVisualizer<AcquisitionInfo>
31  {
32  Q_OBJECT
33 
34 public:
35 
37  AcquisitionInfoVisualizer(bool editable = false, QWidget * parent = nullptr);
38 
39 public slots:
40 
41  //Docu in base class
42  void store() override;
43 
44 protected slots:
45 
47  void undo_();
48 
49 protected:
50 
53 
54  //Docu in base class
55  void update_() override;
56  };
57 
58 }
Class that displays all meta information for AcquisitionInfo objects.
Definition: AcquisitionInfoVisualizer.h:31
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
QLineEdit * acquisitioninfo_method_
Edit field for the method.
Definition: AcquisitionInfoVisualizer.h:52
AcquisitionInfoVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
A base class for all visualizer classes.
Definition: BaseVisualizerGUI.h:40
A base class for all visualizer classes.
Definition: BaseVisualizer.h:28
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22