OpenMS
FeatureEditDialog.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 
10 #pragma once
11 
12 // OpenMS_GUI config
13 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
14 
15 #include <OpenMS/KERNEL/Feature.h>
16 
17 #include <QDialog>
18 
19 namespace Ui
20 {
21  class FeatureEditDialogTemplate;
22 }
23 
24 namespace OpenMS
25 {
31  class OPENMS_GUI_DLLAPI FeatureEditDialog :
32  public QDialog
33  {
34  Q_OBJECT
35 
36 public:
37 
41  ~FeatureEditDialog() override;
42 
44  void setFeature(const Feature & feature);
46  const Feature & getFeature() const;
47 
48 protected:
49 
51  mutable Feature feature_;
52 
53 private:
56 
57  Ui::FeatureEditDialogTemplate* ui_;
58 
59  };
60 
61 }
Dialog for editing a feature.
Definition: FeatureEditDialog.h:33
const Feature & getFeature() const
Returns the feature.
Ui::FeatureEditDialogTemplate * ui_
Definition: FeatureEditDialog.h:57
FeatureEditDialog(QWidget *parent)
Constructor.
FeatureEditDialog()
Not implemented.
Feature feature_
The feature to edit.
Definition: FeatureEditDialog.h:51
void setFeature(const Feature &feature)
Sets the feature.
~FeatureEditDialog() override
Destructor.
An LC-MS feature.
Definition: Feature.h:46
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition: FLASHDeconvWizardBase.h:37