SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
plotwindow.cpp
Go to the documentation of this file.
1#include "plotwindow.h"
2#include "ui_plotwindow.h"
3#include "QComboBox"
4#include "mainwindow.h"
5
6PlotWindow::PlotWindow(QWidget *parent) :
7 QDialog(parent),
8 ui(new Ui::PlotWindow)
9{
10 ui->setupUi(this);
11
12#ifdef USE_QCHARTS
13 plot = new GeneralChartPlotter(this);
14#else
15 plot = new GeneralPlotter(this);
16#endif // USE_QCHARTS
17
18
19 ui->horizontalLayout_2->addWidget(plot);
20
21}
22
24{
25 delete ui;
26}
27
29{
30 return dynamic_cast<MainWindow*>(parent())->Data();
31}
32
33
Main application window for SedSAT3 source apportionment analysis.
Definition mainwindow.h:41
SourceSinkData * Data()
GeneralChartPlotter * plot
Definition plotwindow.h:34
PlotWindow(QWidget *parent=nullptr)
Definition plotwindow.cpp:6
Ui::PlotWindow * ui
Definition plotwindow.h:32