OpenMS
MassAnalyzerVisualizer.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 namespace OpenMS
20 {
26  class OPENMS_GUI_DLLAPI MassAnalyzerVisualizer :
27  public BaseVisualizerGUI,
28  public BaseVisualizer<MassAnalyzer>
29  {
30  Q_OBJECT
31 
32 public:
33 
35  MassAnalyzerVisualizer(bool editable = false, QWidget * parent = nullptr);
36 
37 public slots:
38 
39  //Docu in base class
40  void store() override;
41 
42 protected slots:
43 
45  void undo_();
46 
47 protected:
48 
50 
60  QComboBox * type_;
61  QComboBox * res_method_;
62  QComboBox * res_type_;
63  QComboBox * scan_dir_;
64  QComboBox * scan_law_;
65  QComboBox * reflectron_state_;
67 
68  //Docu in base class
69  void update_() override;
70  };
71 }
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 MassAnalyzer objects.
Definition: MassAnalyzerVisualizer.h:29
QLineEdit * acc_
Definition: MassAnalyzerVisualizer.h:53
QLineEdit * TOF_
Definition: MassAnalyzerVisualizer.h:56
QLineEdit * magnetic_fs_
Definition: MassAnalyzerVisualizer.h:59
QLineEdit * scan_rate_
Definition: MassAnalyzerVisualizer.h:54
QComboBox * res_type_
Definition: MassAnalyzerVisualizer.h:62
QComboBox * type_
Definition: MassAnalyzerVisualizer.h:60
QLineEdit * iso_
Definition: MassAnalyzerVisualizer.h:57
QComboBox * res_method_
Definition: MassAnalyzerVisualizer.h:61
QComboBox * scan_dir_
Definition: MassAnalyzerVisualizer.h:63
QLineEdit * res_
Definition: MassAnalyzerVisualizer.h:52
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
MassAnalyzerVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
QLineEdit * scan_time_
Definition: MassAnalyzerVisualizer.h:55
QLineEdit * order_
Definition: MassAnalyzerVisualizer.h:51
QLineEdit * final_MS_
Definition: MassAnalyzerVisualizer.h:58
QComboBox * scan_law_
Definition: MassAnalyzerVisualizer.h:64
QComboBox * reflectron_state_
Definition: MassAnalyzerVisualizer.h:65
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19