OpenMS
TVSpectraViewController.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: Timo Sachsenberg $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
14 #include <vector>
15 
16 namespace OpenMS
17 {
18  class TOPPViewBase;
19 
24  : public TVControllerBase
25  {
26  Q_OBJECT
27 
28 public:
31 
32 public slots:
34  virtual void showSpectrumAsNew1D(int index);
35 
37  virtual void showChromatogramsAsNew1D(const std::vector<int>& indices);
38 
40  virtual void activate1DSpectrum(int index);
41 
43  virtual void activate1DSpectrum(const std::vector<int>& indices);
44 
46  virtual void deactivate1DSpectrum(int index);
47  };
48 }
Main window of TOPPView tool.
Definition: TOPPViewBase.h:103
Base behavior for different visualizaton modules in TOPPView.
Definition: TVControllerBase.h:23
Behavior of TOPPView in spectra view mode.
Definition: TVSpectraViewController.h:25
virtual void activate1DSpectrum(const std::vector< int > &indices)
Behavior for activate1DSpectrum.
virtual void activate1DSpectrum(int index)
Behavior for activate1DSpectrum.
virtual void deactivate1DSpectrum(int index)
Behavior for deactivate1DSpectrum.
virtual void showChromatogramsAsNew1D(const std::vector< int > &indices)
Behavior for showChromatogramsAsNew1D.
TVSpectraViewController(TOPPViewBase *parent)
Construct the behaviour with its parent.
virtual void showSpectrumAsNew1D(int index)
Behavior for showSpectrumAsNew1D.
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19