![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <QMetaType>#include <QString>#include <openswmm/engine/openswmm_callbacks.h>Go to the source code of this file.
Classes | |
| struct | DataObjectRef |
Functions | |
| void | registerDataObjectRefConverter () |
Slice DA.4.3 — Property-cell value carrying a reference to one named data object (curve / time series / pattern / unit hydrograph). The matching custom editor (DataObjectPickerEditor) renders a combobox filtered by kind plus a "…" button that launches an inline name prompt + SWMMModelLayer::createDataObject for TS / UH categories (gap categories surface the future-slice tooltip per Slice BM.0-Add-New, 2026-05-24).
The value type intentionally carries no setter callback — writes flow through the owning adapter's WRITE slot (e.g. setOutfallTidalCurveRef), which is what calls the engine. This keeps the MVC contract clean ([[feedback_mvc_synchronized_uis]]): the engine is the single source of truth; the ref is just a coordinate.
| void registerDataObjectRefConverter | ( | ) |
Install the DataObjectRef → QString converter so a non-edit cell renders currentName (or "(unassigned)" when empty). Idempotent.