OpenMS
InstrumentSettingsVisualizer.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, OpenMS Inc. -- 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 InstrumentSettingsVisualizer :
28  public BaseVisualizerGUI,
29  public BaseVisualizer<InstrumentSettings>
30  {
31  Q_OBJECT
32 
33 public:
34 
36  InstrumentSettingsVisualizer(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 
53  QComboBox * zoom_scan_;
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 InstrumentSettings objects.
Definition: InstrumentSettingsVisualizer.h:30
void undo_()
Undo the changes made in the GUI.
QComboBox * zoom_scan_
Definition: InstrumentSettingsVisualizer.h:53
void update_() override
Updates the GUI from the temp_ variable.
QComboBox * instrumentsettings_scan_mode_
Definition: InstrumentSettingsVisualizer.h:52
InstrumentSettingsVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
QComboBox * instrumentsettings_polarity_
Definition: InstrumentSettingsVisualizer.h:54
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19