SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
customreportdialog.h
Go to the documentation of this file.
1
16#ifndef OPENSWMMVIS_UI_DIALOGS_CUSTOMREPORTDIALOG_H
17#define OPENSWMMVIS_UI_DIALOGS_CUSTOMREPORTDIALOG_H
18
19#include <QDialog>
20#include <QPointer>
21#include <QString>
22#include <QVector>
23
24class QTableWidget;
25class QTableView;
26class QStandardItemModel;
28
29namespace openswmmvis::ui {
30
31class CustomReportDialog : public QDialog
32{
33 Q_OBJECT
34public:
36 QWidget *parent = nullptr);
38
39private slots:
40 void onAddClauseClicked();
41 void onRemoveClauseClicked();
42 void onRunClicked();
43 void onExportClicked();
44
45private:
46 void buildUi();
47 void evaluate();
48
49 QPointer<SWMMResultsLayer> m_layer;
50
51 QTableWidget *m_clauseTable = nullptr;
52 QStandardItemModel *m_resultModel = nullptr;
53 QTableView *m_resultTable = nullptr;
54};
55
56} // namespace openswmmvis::ui
57
58#endif // OPENSWMMVIS_UI_DIALOGS_CUSTOMREPORTDIALOG_H
Overlays time-stepped simulation results on the SWMM network geometry.
Definition swmmresultslayer.h:96
Definition customreportdialog.h:32
Definition openswmmvislayer.h:43
QVector< int > parent
union-find
Definition pslgminsize.cpp:176