48 void populateWidgets(
const OD &d);
49 void commitWidgets(
OD &d)
const;
50 void onUnitSystemSwitched(
int comboIndex);
54 bool m_showingSi =
false;
56 QComboBox *m_unitSystemCombo =
nullptr;
59 QDoubleSpinBox *m_junctionMaxDepth =
nullptr;
60 QDoubleSpinBox *m_junctionInitDepth =
nullptr;
61 QDoubleSpinBox *m_junctionSurDepth =
nullptr;
62 QDoubleSpinBox *m_junctionPondedArea =
nullptr;
63 QComboBox *m_outfallType =
nullptr;
64 QCheckBox *m_outfallFlapGate =
nullptr;
65 QDoubleSpinBox *m_storageMaxDepth =
nullptr;
66 QDoubleSpinBox *m_storageFuncCoeff =
nullptr;
67 QDoubleSpinBox *m_storageFuncExponent =
nullptr;
68 QDoubleSpinBox *m_storageFuncConstant =
nullptr;
69 QDoubleSpinBox *m_storageSeepRate =
nullptr;
70 QComboBox *m_dividerType =
nullptr;
73 QComboBox *m_conduitShape =
nullptr;
74 QDoubleSpinBox *m_conduitGeom1 =
nullptr;
75 QDoubleSpinBox *m_conduitGeom2 =
nullptr;
76 QDoubleSpinBox *m_conduitGeom3 =
nullptr;
77 QDoubleSpinBox *m_conduitGeom4 =
nullptr;
78 QDoubleSpinBox *m_conduitRoughness =
nullptr;
79 QDoubleSpinBox *m_conduitLength =
nullptr;
80 QSpinBox *m_conduitBarrels =
nullptr;
81 QDoubleSpinBox *m_conduitLossInlet =
nullptr;
82 QDoubleSpinBox *m_conduitLossOutlet =
nullptr;
83 QCheckBox *m_conduitFlapGate =
nullptr;
84 QCheckBox *m_pumpInitStateOn =
nullptr;
85 QDoubleSpinBox *m_pumpStartupDepth =
nullptr;
86 QDoubleSpinBox *m_pumpShutoffDepth =
nullptr;
87 QComboBox *m_orificeType =
nullptr;
88 QDoubleSpinBox *m_orificeGeom1 =
nullptr;
89 QDoubleSpinBox *m_orificeCd =
nullptr;
90 QCheckBox *m_orificeFlapGate =
nullptr;
91 QDoubleSpinBox *m_orificeOpenCloseRate =
nullptr;
92 QComboBox *m_weirType =
nullptr;
93 QDoubleSpinBox *m_weirGeom1 =
nullptr;
94 QDoubleSpinBox *m_weirGeom2 =
nullptr;
95 QDoubleSpinBox *m_weirCd =
nullptr;
96 QSpinBox *m_weirEndContractions =
nullptr;
97 QCheckBox *m_weirFlapGate =
nullptr;
98 QComboBox *m_outletRatingType =
nullptr;
99 QDoubleSpinBox *m_outletCoeff =
nullptr;
100 QDoubleSpinBox *m_outletExponent =
nullptr;
101 QCheckBox *m_outletFlapGate =
nullptr;
104 QDoubleSpinBox *m_subcatchArea =
nullptr;
105 QDoubleSpinBox *m_subcatchWidth =
nullptr;
106 QDoubleSpinBox *m_subcatchSlopePct =
nullptr;
107 QDoubleSpinBox *m_subcatchImpervPct =
nullptr;
108 QDoubleSpinBox *m_subcatchNImperv =
nullptr;
109 QDoubleSpinBox *m_subcatchNPerv =
nullptr;
110 QDoubleSpinBox *m_subcatchDsImperv =
nullptr;
111 QDoubleSpinBox *m_subcatchDsPerv =
nullptr;
112 QDoubleSpinBox *m_subcatchPctZeroImperv =
nullptr;
113 QDoubleSpinBox *m_hortonMaxRate =
nullptr;
114 QDoubleSpinBox *m_hortonMinRate =
nullptr;
115 QDoubleSpinBox *m_hortonDecay =
nullptr;
116 QDoubleSpinBox *m_hortonDryTime =
nullptr;
117 QDoubleSpinBox *m_gaSuction =
nullptr;
118 QDoubleSpinBox *m_gaKsat =
nullptr;
119 QDoubleSpinBox *m_gaImd =
nullptr;
120 QDoubleSpinBox *m_cnCurveNumber =
nullptr;
121 QDoubleSpinBox *m_cnDryTime =
nullptr;
124 QComboBox *m_gageRainFormat =
nullptr;
125 QSpinBox *m_gageIntervalMin =
nullptr;
126 QDoubleSpinBox *m_gageSnowCatch =
nullptr;
Definition objectdefaultspage.h:28
void applyTo(PreferencesManager *p)
Commit the visible widgets, then write BOTH sets to the manager.
Definition objectdefaultspage.cpp:418
void resetToSeeds()
Restore both sets to the compiled-in seeds and refresh the widgets.
Definition objectdefaultspage.cpp:425
void loadFrom(PreferencesManager *p)
Definition objectdefaultspage.cpp:403