56 void onResetToDefaults();
60 void readFromManager();
61 void writeToManager();
62 void applyTwoDDefaultsToWidgets(
65 QWidget *buildGeneralPage();
66 QWidget *buildSelectionPage();
67 QWidget *buildCanvasPage();
68 QWidget *buildRenderingPage();
69 QWidget *buildSimulationPage();
75 QWidget *buildSimulationDefaultsPage();
76 void addDynamicWaveDefaultGroups(QVBoxLayout *stepsLay,
77 QVBoxLayout *solverLay);
78 void addTwoDDefaultGroups(QVBoxLayout *lay, QVBoxLayout *cplLay,
79 QVBoxLayout *meshLay);
80 QWidget *buildObjectDefaultsPage();
81 QWidget *buildMapDisplayPage();
82 QWidget *buildMeasureToolPage();
83 QWidget *buildPlotsPage();
84 QWidget *buildNamingPage();
85 QWidget *buildAppearancePage();
86 QWidget *buildKeyboardPage();
88 QListWidget *m_categoryList =
nullptr;
89 QStackedWidget *m_pages =
nullptr;
96 QRadioButton *m_appearanceSystemRadio =
nullptr;
97 QRadioButton *m_appearanceLightRadio =
nullptr;
98 QRadioButton *m_appearanceDarkRadio =
nullptr;
101 QCheckBox *m_showLicenseOnStartupBox =
nullptr;
102 QCheckBox *m_autoLengthBox =
nullptr;
103 QComboBox *m_defaultEngineCombo =
nullptr;
104 QSpinBox *m_profileMaxPathsSpin =
nullptr;
105 QSpinBox *m_profileHaloRadiusSpin =
nullptr;
106 QPushButton *m_profileStartColorBtn =
nullptr;
107 QColor m_pendingProfileStartColor;
108 QDoubleSpinBox *m_profileStartWidthSpin =
nullptr;
109 QPushButton *m_profileEndColorBtn =
nullptr;
110 QColor m_pendingProfileEndColor;
111 QDoubleSpinBox *m_profileEndWidthSpin =
nullptr;
114 QSpinBox *m_clickTolerancePxSpin =
nullptr;
115 QSpinBox *m_dragThresholdPxSpin =
nullptr;
116 QCheckBox *m_clearOnMissBox =
nullptr;
126 QPropertyModel *m_meshBcModel =
nullptr;
127 QPropertyModel *m_selectionModel =
nullptr;
130 QComboBox *m_defaultToolCombo =
nullptr;
131 QRadioButton *m_crsAutoRadio =
nullptr;
132 QRadioButton *m_crsCustomRadio =
nullptr;
133 QLineEdit *m_crsAuthorityEdit =
nullptr;
134 QSpinBox *m_crsCodeSpin =
nullptr;
137 QCheckBox *m_snapEnabledBox =
nullptr;
138 QSpinBox *m_snapToleranceSpin =
nullptr;
139 QCheckBox *m_snapToVerticesBox =
nullptr;
147 QDoubleSpinBox *m_labelLodSpin =
nullptr;
149 QPropertyModel *m_linkPenModel =
nullptr;
156 QPropertyModel *m_nodeStyleModel =
nullptr;
157 QCheckBox *m_qsgNodesBox =
nullptr;
158 QCheckBox *m_qsgMeshBox =
nullptr;
161 QSpinBox *m_progressTickMsSpin =
nullptr;
162 QSpinBox *m_live2DHistoryCapSpin =
nullptr;
163 QSpinBox *m_live2DHistoryMBSpin =
nullptr;
166 QComboBox *m_simFlowUnitsCombo =
nullptr;
167 QComboBox *m_simInfiltrationCombo =
nullptr;
168 QComboBox *m_simFlowRoutingCombo =
nullptr;
169 QCheckBox *m_simIgnoreRainfallBox =
nullptr;
170 QCheckBox *m_simIgnoreRdiiBox =
nullptr;
171 QCheckBox *m_simIgnoreSnowmeltBox =
nullptr;
172 QCheckBox *m_simIgnoreGroundwaterBox =
nullptr;
173 QCheckBox *m_simIgnoreQualityBox =
nullptr;
174 QCheckBox *m_simIgnoreRoutingBox =
nullptr;
175 QCheckBox *m_simModule2DBox =
nullptr;
176 QCheckBox *m_simAllowPondingBox =
nullptr;
177 QCheckBox *m_simSkipSteadyStateBox =
nullptr;
178 QDoubleSpinBox *m_simMinSlopePctSpin =
nullptr;
179 QDoubleSpinBox *m_simDryDaysSpin =
nullptr;
180 QSpinBox *m_simReportStepSpin =
nullptr;
181 QSpinBox *m_simDryStepSpin =
nullptr;
182 QSpinBox *m_simWetStepSpin =
nullptr;
183 QSpinBox *m_simRuleStepSpin =
nullptr;
184 QDoubleSpinBox *m_simRoutingStepSpin =
nullptr;
185 QDoubleSpinBox *m_simSysFlowTolSpin =
nullptr;
186 QDoubleSpinBox *m_simLatFlowTolSpin =
nullptr;
187 QSpinBox *m_simMaxTrialsSpin =
nullptr;
190 QComboBox *m_simInertialDampCombo =
nullptr;
191 QComboBox *m_simNormalFlowCombo =
nullptr;
192 QComboBox *m_simForceMainCombo =
nullptr;
193 QComboBox *m_simSurchargeCombo =
nullptr;
194 QCheckBox *m_simVariableStepBox =
nullptr;
195 QDoubleSpinBox *m_simVariableStepFactorSpin =
nullptr;
196 QDoubleSpinBox *m_simMinRoutingStepSpin =
nullptr;
197 QDoubleSpinBox *m_simLengtheningStepSpin =
nullptr;
198 QDoubleSpinBox *m_simHeadToleranceSpin =
nullptr;
199 QComboBox *m_simNodeContinuityCombo =
nullptr;
200 QCheckBox *m_simAndersonAccelBox =
nullptr;
201 QSpinBox *m_simThreadsSpin =
nullptr;
202 QComboBox *m_simUnsteadyFrictionCombo =
nullptr;
203 QDoubleSpinBox *m_simUfK3Spin =
nullptr;
207 QDoubleSpinBox *m_twoDMaxTimestepSpin =
nullptr;
208 QDoubleSpinBox *m_twoDThetaSpin =
nullptr;
209 QDoubleSpinBox *m_twoDCflSpin =
nullptr;
210 QSpinBox *m_twoDLtsTiersSpin =
nullptr;
211 QDoubleSpinBox *m_twoDHMoveSpin =
nullptr;
212 QDoubleSpinBox *m_twoDFroudeMaxSpin =
nullptr;
213 QCheckBox *m_twoDAdvectionBox =
nullptr;
214 QDoubleSpinBox *m_twoDDryDepthSpin =
nullptr;
215 QDoubleSpinBox *m_twoDLimiterEpsSpin =
nullptr;
216 QDoubleSpinBox *m_twoDFluxDhEpsSpin =
nullptr;
217 QComboBox *m_twoDCellClosureCombo =
nullptr;
218 QComboBox *m_twoDFaceReconCombo =
nullptr;
219 QDoubleSpinBox *m_twoDVfrMinWetFracSpin =
nullptr;
220 QDoubleSpinBox *m_twoDCouplingCdSpin =
nullptr;
221 QDoubleSpinBox *m_twoDCouplingSyncSpin =
nullptr;
222 QCheckBox *m_twoDCouplingAreaAutoBox =
nullptr;
223 QComboBox *m_twoDRainfallModeCombo =
nullptr;
224 QCheckBox *m_twoDReport2DBox =
nullptr;
225 QDoubleSpinBox *m_twoDMeshMinAngleSpin =
nullptr;
226 QDoubleSpinBox *m_twoDMeshMaxAreaSpin =
nullptr;
227 QSpinBox *m_twoDMeshMaxSteinerSpin =
nullptr;
228 QDoubleSpinBox *m_twoDMeshIdwPowerSpin =
nullptr;
229 QDoubleSpinBox *m_twoDMeshSimplifyEpsSpin =
nullptr;
230 QDoubleSpinBox *m_twoDMeshSnapEpsSpin =
nullptr;
231 QDoubleSpinBox *m_twoDMeshFlattenRadSpin =
nullptr;
232 QCheckBox *m_twoDMeshNodesBox =
nullptr;
233 QCheckBox *m_twoDMeshNodesRimBox =
nullptr;
234 QCheckBox *m_twoDMeshMinSepBox =
nullptr;
235 QDoubleSpinBox *m_twoDMeshMinSepSpin =
nullptr;
236 QCheckBox *m_twoDMeshThinningBox =
nullptr;
237 QDoubleSpinBox *m_twoDMeshThinningTolSpin =
nullptr;
238 QSpinBox *m_twoDMeshThinningPassesSpin =
nullptr;
239 QCheckBox *m_twoDMeshMinSpacingBox =
nullptr;
240 QDoubleSpinBox *m_twoDMeshMinSpacingSpin =
nullptr;
241 QDoubleSpinBox *m_twoDMeshBoundaryBufSpin =
nullptr;
242 QCheckBox *m_twoDMeshMaxEdgeBox =
nullptr;
243 QDoubleSpinBox *m_twoDMeshMaxEdgeSpin =
nullptr;
244 QDoubleSpinBox *m_twoDMeshManningsSpin =
nullptr;
245 QDoubleSpinBox *m_twoDMeshInitDepthSpin =
nullptr;
246 QCheckBox *m_twoDMeshOutputExternalBox =
nullptr;
249 QPushButton *m_scaleBarColorBtn =
nullptr;
250 QColor m_pendingScaleBarColor;
251 QSpinBox *m_scaleBarPenWidthSpin =
nullptr;
252 QComboBox *m_scaleBarPenStyleCombo =
nullptr;
253 QPushButton *m_scaleBarFontBtn =
nullptr;
254 QFont m_pendingScaleBarFont;
255 QComboBox *m_scaleBarUnitsCombo =
nullptr;
256 QComboBox *m_scaleBarPositionCombo =
nullptr;
257 QSpinBox *m_scaleBarMaxBarLengthSpin =
nullptr;
258 QSpinBox *m_scaleBarLabelDecimalsSpin =
nullptr;
259 QCheckBox *m_scaleBarCompactNotationBox =
nullptr;
262 QPushButton *m_measureLineColorBtn =
nullptr;
263 QColor m_pendingMeasureLineColor;
264 QPushButton *m_measureLabelFontBtn =
nullptr;
265 QFont m_pendingMeasureLabelFont;
266 QSpinBox *m_measureLabelDecimalsSpin =
nullptr;
267 QPushButton *m_measureFillColorBtn =
nullptr;
268 QColor m_pendingMeasureFillColor;
269 QSpinBox *m_measureFillOpacitySpin =
nullptr;
275 QComboBox *m_plotXFormatCombo =
nullptr;
276 QComboBox *m_plotYFormatCombo =
nullptr;
279 QLineEdit *m_prefixJunction =
nullptr;
280 QLineEdit *m_prefixOutfall =
nullptr;
281 QLineEdit *m_prefixStorage =
nullptr;
282 QLineEdit *m_prefixDivider =
nullptr;
283 QLineEdit *m_prefixConduit =
nullptr;
284 QLineEdit *m_prefixPump =
nullptr;
285 QLineEdit *m_prefixOrifice =
nullptr;
286 QLineEdit *m_prefixWeir =
nullptr;
287 QLineEdit *m_prefixOutlet =
nullptr;
288 QLineEdit *m_prefixRaingage =
nullptr;
289 QLineEdit *m_prefixSubcatchment =
nullptr;