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// SedSAT3 – Sediment Source Assessment Tool, version 3
2// U.S. Geological Survey. See LICENSE.md and DISCLAIMER.md in the repository root.
3
4#include "plotwindow.h"
5#include "ui_plotwindow.h"
6#include "QComboBox"
7#include "mainwindow.h"
8
9PlotWindow::PlotWindow(QWidget *parent) :
10 QDialog(parent),
11 ui(new Ui::PlotWindow)
12{
13 ui->setupUi(this);
14
15#ifdef USE_QCHARTS
16 plot = new GeneralChartPlotter(this);
17#else
18 plot = new GeneralPlotter(this);
19#endif // USE_QCHARTS
20
21
22 ui->horizontalLayout_2->addWidget(plot);
23
24}
25
27{
28 delete ui;
29}
30
32{
33 return dynamic_cast<MainWindow*>(parent())->Data();
34}
35
36
Main application window for SedSAT3 source apportionment analysis.
Definition mainwindow.h:45
SourceSinkData * Data()
GeneralChartPlotter * plot
Definition plotwindow.h:39
PlotWindow(QWidget *parent=nullptr)
Definition plotwindow.cpp:9
Ui::PlotWindow * ui
Definition plotwindow.h:37