61 QWidget *
parent =
nullptr);
64 void onMethodChanged();
93 QVector<GageBlend::SeriesPoint> points;
94 qint64 intervalSec = 0;
95 double snowFactor = 1.0;
96 double relError = 0.0;
99 bool isUpdate =
false;
105 QVector<RowPlan> rows;
106 QVector<GeneratedGage> generated;
107 QStringList staleGages;
108 QStringList warnings;
116 void updateButtons();
119 [[nodiscard]] QVector<GageSite> eligibleGages(QStringList *warnings,
120 QStringList *unlocated)
const;
123 [[nodiscard]] QVector<int> scopeSubcatchments()
const;
125 [[nodiscard]] Plan buildPlan();
126 [[nodiscard]] Plan buildProximityPlan(
const QVector<GageSite> &gages,
127 const QVector<int> &scope,
128 QStringList warnings);
129 [[nodiscard]] Plan buildInterpolatedPlan(
const QVector<GageSite> &gages,
130 const QVector<int> &scope,
131 QStringList warnings,
132 const QStringList &unlocated);
136 [[nodiscard]]
bool readSourceGage(
const GageSite &site,
138 QString *error)
const;
140 void showPlan(
const Plan &plan,
bool applied);
142 QPointer<SWMMModelLayer> m_layer;
143 QPointer<MapCanvas> m_canvas;
144 QPointer<SelectionManager> m_selection;
146 QRadioButton *m_methodProximity =
nullptr;
147 QRadioButton *m_methodInterp =
nullptr;
148 QComboBox *m_variantCombo =
nullptr;
149 QDoubleSpinBox *m_tolSpin =
nullptr;
150 QRadioButton *m_scopeAll =
nullptr;
151 QRadioButton *m_scopeSelected =
nullptr;
152 QLabel *m_gageCountLbl =
nullptr;
153 QTableWidget *m_preview =
nullptr;
154 QLabel *m_statusLbl =
nullptr;
155 QPushButton *m_previewBtn =
nullptr;
156 QPushButton *m_applyBtn =
nullptr;
Renders the SWMM network elements (nodes, links, subcatchments, rain gages) for one OpenSWMMEngine mo...
Definition swmmmodellayer.h:133