![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Go to the source code of this file.
Classes | |
| class | RainIntervalComboBox |
DA.2 parity follow-up — inline editable combobox editor for the rain gage "Recording Interval" Property Browser row. Mirrors CulvertCodeComboBox, but is editable (legacy esComboEdit): the user can pick one of the legacy H:MM presets or type a custom clock value.
Registered against the RainIntervalRef metatype via QPropertyItemDelegate::registerCustomTypeEditorCreator.
Apply-as-you-go (same contract as CulvertCodeComboBox): committing a value parses the H:MM text to seconds and writes immediately through the engine (or the model layer when bound), then emits valueChanged() so the delegate's setModelData round-trip refreshes the row. A malformed entry is ignored (no write), leaving the stored value unchanged.