OpenMS
SpectrumSettingsVisualizer.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 class QTextEdit;
20 
21 namespace OpenMS
22 {
28  class OPENMS_GUI_DLLAPI SpectrumSettingsVisualizer :
29  public BaseVisualizerGUI,
30  public BaseVisualizer<SpectrumSettings>
31  {
32  Q_OBJECT
33 
34 public:
35 
37  SpectrumSettingsVisualizer(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:
53  QComboBox * type_;
56 
57  //Docu in base class
58  void update_() override;
59  };
60 }
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 SpectrumSettings objects.
Definition: SpectrumSettingsVisualizer.h:31
QComboBox * type_
The type of this experiment.
Definition: SpectrumSettingsVisualizer.h:53
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
QTextEdit * comment_
The date of this experiment.
Definition: SpectrumSettingsVisualizer.h:55
SpectrumSettingsVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
QLineEdit * native_id_
The date of this experiment.
Definition: SpectrumSettingsVisualizer.h:51
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22