![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Functions | |
| QStringList | presetsHMM () |
| QString | secondsToHMM (int secs) |
| int | hmmToSeconds (const QString &text) |
|
inline |
Parse a clock string into seconds, matching the engine's parser (parse_time_seconds): colon form is H:MM[:SS] (first token = hours); a bare number is decimal hours (engine [RAINGAGES] grammar). Returns -1 on malformed input so callers can reject the edit.
|
inline |
The legacy [RAINGAGES] interval presets (Epaswmm5 Uedit.pas), in clock H:MM form. The combo is editable, so custom values are still accepted.
|
inline |
Format a second count as the legacy clock string: "H:MM" when on a whole minute, "H:MM:SS" otherwise.