![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Two-pane CRUD editor for SWMM pollutants ([POLLUTANTS]). More...
#include <QDialog>#include <QPointer>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::PollutantEditorDialog |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::pollutant |
| namespace | openswmmvis::ui |
Two-pane CRUD editor for SWMM pollutants ([POLLUTANTS]).
Mirrors StreetEditorDialog's role and entry points (createNew / pickPollutant). A pollutant is a flat set of scalar fields, so the layout is a list pane (left) + field form (right); there is no geometry preview.
┌──────────────┬────────────────────────────────────────┐ │ Pollutants │ Name │ │ list view │ Units (combo) / Rain / GW / I&I │ │ [+ New] │ Initial conc / Decay / Mol. weight │ │ [- Delete] │ Snow only / Co-pollutant / Co-fraction│ └──────────────┴────────────────────────────────────────┘
MVC contract — every mutation goes through PollutantProvider; subscribed registry signals keep the list and field form in lock-step. Units are write-once at engine creation (no swmm_pollutant_set_units), so the units combo only takes effect for not-yet-created pollutants.
NOTE (first cut): build-verify with the compiler in the loop. See docs/HANDOFF_compile_verify_agent.md.