SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
plotwindow.h
Go to the documentation of this file.
1// SedSAT3 – Sediment Source Assessment Tool, version 3
2// U.S. Geological Survey. See LICENSE.md and DISCLAIMER.md in the repository root.
3
4#ifndef PLOTWINDOW_H
5#define PLOTWINDOW_H
6#ifndef USE_QCHARTS
7#define USE_QCHARTS
8#endif
9
10#include <QDialog>
11#include "sourcesinkdata.h"
12#include "QComboBox"
13#ifdef USE_QCHARTS
14#include "GeneralChartPlotter.h"
15#else
16#include "generalplotter.h"
17#endif // USE_QCHARTS
18
19namespace Ui {
20class PlotWindow;
21}
22
23class PlotWindow : public QDialog
24{
25 Q_OBJECT
26
27public:
28 explicit PlotWindow(QWidget *parent = nullptr);
31#ifdef USE_QCHARTS
32 GeneralChartPlotter *Plotter() {return plot;}
33#else
34 GeneralPlotter* Plotter() { return chartplotter; }
35#endif
36private:
37 Ui::PlotWindow *ui;
38#ifdef USE_QCHARTS
39 GeneralChartPlotter* plot = nullptr;
40#else
41 GeneralPlotter *plot = nullptr;
42#endif
43
44
45public slots:
46
47};
48
49#endif // PLOTWINDOW_H
SourceSinkData * Data()
GeneralChartPlotter * plot
Definition plotwindow.h:39
PlotWindow(QWidget *parent=nullptr)
Definition plotwindow.cpp:9
Ui::PlotWindow * ui
Definition plotwindow.h:37
GeneralChartPlotter * Plotter()
Definition plotwindow.h:32