All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DocumentIdentifierVisualizer.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 //QT
20 
21 namespace OpenMS
22 {
28  class OPENMS_GUI_DLLAPI DocumentIdentifierVisualizer :
29  public BaseVisualizerGUI,
30  public BaseVisualizer<DocumentIdentifier>
31  {
32  Q_OBJECT
33 
34 public:
35 
37  DocumentIdentifierVisualizer(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:
51 
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 DocumentIdentifier objects.
Definition: DocumentIdentifierVisualizer.h:31
QLineEdit * file_path_
Definition: DocumentIdentifierVisualizer.h:53
QLineEdit * identifier_
Definition: DocumentIdentifierVisualizer.h:52
DocumentIdentifierVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
QLineEdit * file_type_
Definition: DocumentIdentifierVisualizer.h:54
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22