SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
resultswindow.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 RESULTSWINDOW_H
5#define RESULTSWINDOW_H
6
7#include <QDialog>
8#include "string"
9#include "results.h"
10
11//using namespace std;
12
13namespace Ui {
14class ResultsWindow;
15}
16
17class ResultsWindow : public QDialog
18{
19 Q_OBJECT
20
21public:
22 explicit ResultsWindow(QWidget *parent = nullptr);
23 void AppendText(const string &text);
26 void AppendResult(const ResultItem &resultitem, const std::string &key);
28 void SetResults(Results* res) { results = res; }
29
30private:
31 Ui::ResultsWindow *ui;
32 Results* results = nullptr;
36 ResultItem* ResultForButton(QObject* button);
37
38public slots:
42};
43
44#endif // RESULTSWINDOW_H
Results * results
void AppendText(const string &text)
void SetResults(Results *res)
ResultItem * ResultForButton(QObject *button)
void on_result_graph_clicked()
Ui::ResultsWindow * ui
void AppendResult(const ResultItem &resultitem, const std::string &key)
ResultsWindow(QWidget *parent=nullptr)
void on_result_export_clicked()
void on_result_table_clicked()