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
scatterplotdialog.h
Go to the documentation of this file.
1
13#ifndef OPENSWMMVIS_UI_DIALOGS_SCATTERPLOTDIALOG_H
14#define OPENSWMMVIS_UI_DIALOGS_SCATTERPLOTDIALOG_H
15
16#include <QDialog>
17#include <QPointer>
18
19class QComboBox;
20class QChartView;
22
23namespace openswmmvis::ui {
24
25class ChartAxisFormatController;
26
27class ScatterPlotDialog : public QDialog
28{
29 Q_OBJECT
30public:
31 explicit ScatterPlotDialog(SWMMResultsLayer *layer, QWidget *parent = nullptr);
33
34private slots:
35 void onAnyChange();
36
37private:
38 void buildUi();
39 void populateObjectCombos(QComboBox *kindCombo, QComboBox *objCombo, QComboBox *varCombo);
40 void replot();
41
42 QPointer<SWMMResultsLayer> m_layer;
43
44 QComboBox *m_xKind = nullptr, *m_xObj = nullptr, *m_xVar = nullptr;
45 QComboBox *m_yKind = nullptr, *m_yObj = nullptr, *m_yVar = nullptr;
46 QChartView *m_chart = nullptr;
47 ChartAxisFormatController *m_axisFmt = nullptr;
48};
49
50} // namespace openswmmvis::ui
51
52#endif // OPENSWMMVIS_UI_DIALOGS_SCATTERPLOTDIALOG_H
Overlays time-stepped simulation results on the SWMM network geometry.
Definition swmmresultslayer.h:96
Definition chartaxisformatcontroller.h:37
Definition scatterplotdialog.h:28
Definition openswmmvislayer.h:43
QVector< int > parent
union-find
Definition pslgminsize.cpp:176