OpenMS
DataFilterDialog.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 
10 #pragma once
11 
12 // OpenMS_GUI config
13 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
14 
16 
17 #include <QDialog>
18 
19 namespace Ui
20 {
21  class DataFilterDialogTemplate;
22 }
23 
24 namespace OpenMS
25 {
30  class OPENMS_GUI_DLLAPI DataFilterDialog :
31  public QDialog
32  {
33  Q_OBJECT
34 
35 public:
38 
40  virtual ~DataFilterDialog();
41 
42 protected slots:
44  void check_();
46  void field_changed_(const QString &);
48  void op_changed_(const QString &);
49 
50 protected:
53 
54 private:
57 
58  Ui::DataFilterDialogTemplate* ui_;
59  };
60 
61 }
Dialog for creating and changing a DataFilter.
Definition: DataFilterDialog.h:32
void field_changed_(const QString &)
Is called when field_ changes and enables/disables the meta data functionality as needed.
DataFilterDialog(DataFilters::DataFilter &filter, QWidget *parent)
constructor
DataFilterDialog()
Not implemented.
void check_()
Checks if the settings are valid and writes them to filter_ if so.
Ui::DataFilterDialogTemplate * ui_
Definition: DataFilterDialog.h:58
void op_changed_(const QString &)
Is called when op_ changes and disables the value field, if operation is "exists",...
virtual ~DataFilterDialog()
destructor
DataFilters::DataFilter & filter_
Reference to the filter that is modified.
Definition: DataFilterDialog.h:52
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
Definition: FLASHDeconvWizardBase.h:37
Representation of a peak/feature filter combining FilterType, FilterOperation and a value (either dou...
Definition: DataFilters.h:51