SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
initialqualitydialog.h File Reference

Editor for [INITIAL_QUALITY] — per-node/per-link initial concentrations (GUI plan §3.4 pattern / program E-A, round G-A1). More...

#include <openswmm/engine/openswmm_engine.h>
#include <QDialog>
#include <QSet>
Include dependency graph for initialqualitydialog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMMVis::InitialQualityDialog
 Non-modal editor for the per-element initial-quality table. More...
 

Namespaces

namespace  OpenSWMMVis
 

Detailed Description

Editor for [INITIAL_QUALITY] — per-node/per-link initial concentrations (GUI plan §3.4 pattern / program E-A, round G-A1).

One add/remove row table over the engine's swmm_init_quality_* surface: Scope (NODE/LINK), Element, Constituent (pollutants plus the reserved __WATER_AGE__ / __TEMPERATURE__ species, offered only when their [OPTIONS] toggle is on), Value. Pollutant values are concentrations in the pollutant's own units; water age is HOURS (signed — engine D-NS1); temperature is degC.

The engine handle IS the model (GUI plan §2): edits are read from and written to openswmm_initial_quality.h directly, with no intermediate registry. Deliberately dependency-light — Qt Widgets plus that one engine ABI — so a test can link and drive it (the WaterAgeSourcesDialog / ClimatologyDialog precedent).

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n Apache-2.0