![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <QAbstractTableModel>#include <QList>#include <QString>#include <QStyledItemDelegate>#include <openswmm/engine/openswmm_engine.h>Go to the source code of this file.
Classes | |
| class | ProcessComponentsModel |
| struct | ProcessComponentsModel::KnownId |
| class | ProcessComponentIdDelegate |
| Combo editor over the built-in catalogue, editable for free-form ids. More... | |
U1 (2026-09-07) — MVC model for the model's [PROCESS_COMPONENTS] registrations (Simulation Options → Files / Output / Plugins → Process components). The engine is the single source of truth: load() reads the registrations through swmm_process_component_*, edits are staged in the model, and commit() applies the difference (remove + register — the C API has no "set config"). The reaction editor's one-step "create component + config file" registers straight into the engine; a dialog that re-loads on show sees it.
The Id column offers the engine's built-in catalogue (swmm_process_component_known_*) and still accepts a free-form id, so a component library id (PROG stream D, later) can be typed today.