OpenMS
AcquisitionVisualizer.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 
14 //OpenMS
18 
19 
20 namespace OpenMS
21 {
27  class OPENMS_GUI_DLLAPI AcquisitionVisualizer :
28  public BaseVisualizerGUI,
29  public BaseVisualizer<Acquisition>
30  {
31  Q_OBJECT
32 
33 public:
34 
36  AcquisitionVisualizer(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 
52 
53  //Docu in base class
54  void update_() override;
55  };
56 
57 
58 }
Class that displays all meta information for Acquisition objects.
Definition: AcquisitionVisualizer.h:30
QLineEdit * acquisitionnumber_
Edit field for the number.
Definition: AcquisitionVisualizer.h:51
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
AcquisitionVisualizer(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: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19