OpenMS
TOPPViewPrefDialog.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, Chris Bielow $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
12 
13 
15 
16 #include <QtWidgets/QDialog>
17 
18 namespace Ui
19 {
20  class TOPPViewPrefDialogTemplate;
21 }
22 
23 namespace OpenMS
24 {
25  namespace Internal
26  {
32  class OPENMS_GUI_DLLAPI TOPPViewPrefDialog :
33  public QDialog
34  {
35  Q_OBJECT
36 
37 public:
39  ~TOPPViewPrefDialog() override;
40 
42  void setParam(const Param& param);
43 
46  Param getParam() const;
47 
48 protected slots:
51 private:
52  Ui::TOPPViewPrefDialogTemplate* ui_;
53  mutable Param param_;
55  };
56  }
57 }
Preferences dialog for TOPPView.
Definition: TOPPViewPrefDialog.h:34
void setParam(const Param &param)
initialize GUI values with these parameters
Param param_
is updated in getParam()
Definition: TOPPViewPrefDialog.h:53
Ui::TOPPViewPrefDialogTemplate * ui_
Definition: TOPPViewPrefDialog.h:52
Param tsg_param_
params for TheoreticalSpectrumGenerator in the TSG tab
Definition: TOPPViewPrefDialog.h:54
Management and storage of parameters / INI files.
Definition: Param.h:44
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
Definition: FLASHDeconvWizardBase.h:37