OpenMS
LayerStatisticsDialog.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 #pragma once
10 
11 // OpenMS_GUI config
12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
13 
14 #include <QtWidgets/QDialog>
15 
16 #include <memory> // for unique_ptr
17 
18 namespace Ui
19 {
20  class LayerStatisticsDialogTemplate;
21 }
22 
23 namespace OpenMS
24 {
25  class LayerStatistics;
26  class PlotWidget;
27  class PlotCanvas;
33  class OPENMS_GUI_DLLAPI LayerStatisticsDialog :
34  public QDialog
35  {
36  Q_OBJECT
37 
38 public:
42  LayerStatisticsDialog(PlotWidget* parent, std::unique_ptr<LayerStatistics>&& stats);
45 
46 protected:
48  std::unique_ptr<LayerStatistics> stats_;
49 
50 private:
51  Ui::LayerStatisticsDialogTemplate* ui_;
52  };
53 }
Dialog showing statistics about the data of the current layer.
Definition: LayerStatisticsDialog.h:35
std::unique_ptr< LayerStatistics > stats_
The statistics of the layer.
Definition: LayerStatisticsDialog.h:48
LayerStatisticsDialog()=delete
Constructor not implemented.
LayerStatisticsDialog(PlotWidget *parent, std::unique_ptr< LayerStatistics > &&stats)
Custom constructor.
Ui::LayerStatisticsDialogTemplate * ui_
Definition: LayerStatisticsDialog.h:51
~LayerStatisticsDialog() override
D'tor.
Base class for spectrum widgets.
Definition: PlotWidget.h:57
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
Definition: FLASHDeconvWizardBase.h:37