OpenMS
ScanWindowVisualizer.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 namespace OpenMS
20 {
21 
22  class MetaDataBrowser;
23 
29  class OPENMS_GUI_DLLAPI ScanWindowVisualizer :
30  public BaseVisualizerGUI,
31  public BaseVisualizer<ScanWindow>
32  {
33  Q_OBJECT
34 
35 public:
36 
38  ScanWindowVisualizer(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:
51 
53 
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 ScanWindow objects.
Definition: ScanWindowVisualizer.h:32
ScanWindowVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
QLineEdit * end_
Definition: ScanWindowVisualizer.h:55
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
QLineEdit * begin_
Definition: ScanWindowVisualizer.h:54
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19