OpenMS
SpectrumAlignmentDialog.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, 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 #include <OpenMS/CONCEPT/Types.h>
13 
14 #include <QtWidgets/QDialog>
15 
16 namespace Ui
17 {
18  class SpectrumAlignmentDialogTemplate;
19 }
20 
21 namespace OpenMS
22 {
23  class Plot1DWidget;
24 
31  public QDialog
32  {
33  Q_OBJECT
34 
35 public:
36 
40 
41  double getTolerance() const;
42  bool isPPM() const;
43 
48 
49 protected slots:
50 
51 protected:
52 
54  std::vector<UInt> layer_indices_1_;
56  std::vector<UInt> layer_indices_2_;
57 
58 private:
59  Ui::SpectrumAlignmentDialogTemplate* ui_;
60  };
61 
62 }
Widget for visualization of several spectra.
Definition: Plot1DWidget.h:41
Lets the user select two spectra and set the parameters for the spectrum alignment.
Definition: SpectrumAlignmentDialog.h:32
Int get1stLayerIndex()
Returns the index of the selected non-flipped layer.
std::vector< UInt > layer_indices_1_
Stores the layer indices of the layers in the left list (non-flipped layers)
Definition: SpectrumAlignmentDialog.h:54
Ui::SpectrumAlignmentDialogTemplate * ui_
Definition: SpectrumAlignmentDialog.h:59
SpectrumAlignmentDialog(Plot1DWidget *parent)
Constructor.
Int get2ndLayerIndex()
Returns the index of the selected flipped layer.
std::vector< UInt > layer_indices_2_
Stores the layer indices of the layers in the right list (flipped layers)
Definition: SpectrumAlignmentDialog.h:56
int Int
Signed integer type.
Definition: Types.h:72
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition: FLASHDeconvWizardBase.h:37