OpenMS
ExperimentalSettingsVisualizer.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 namespace OpenMS
20 {
21 
22  class MetaDataBrowser;
23 
29  class OPENMS_GUI_DLLAPI ExperimentalSettingsVisualizer :
30  public BaseVisualizerGUI,
31  public BaseVisualizer<ExperimentalSettings>
32  {
33  Q_OBJECT
34 
35 public:
36 
38  ExperimentalSettingsVisualizer(bool editable = false, QWidget * parent = nullptr);
39 
40 public slots:
41 
42  //Docu in base class
43  void store() override;
44 
45 protected slots:
46 
48  void undo_();
49 
50 protected:
57 
58  //Docu in base class
59  void update_() override;
60  };
61 }
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 ExperimentalSettings objects.
Definition: ExperimentalSettingsVisualizer.h:32
QLineEdit * fraction_identifier_
Fraction identifier.
Definition: ExperimentalSettingsVisualizer.h:56
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
ExperimentalSettingsVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
QTextEdit * comment_
The comment to this experiment.
Definition: ExperimentalSettingsVisualizer.h:54
QLineEdit * datetime_
The date of this experiment.
Definition: ExperimentalSettingsVisualizer.h:52
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22