![]() |
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 | CulvertCodeRef |
Functions | |
| void | registerCulvertCodeRefConverter () |
Phase 0 of docs/ATTRIBUTE_EDITOR_WIRING_PLAN_2026-06-04.md — value type for the conduit "Culvert Code" Property Browser row. Replaces the former LinkCompoundEditRef::CulvertCode compound cell (which opened LinkCompoundEditDialog): the culvert code is a single enum value, so the cell now edits inline via CulvertCodeComboBox.
Same registration dance as LinkCompoundEditRef: declared as a Qt metatype so QPropertyModel stores it in a QVariant, a QString converter renders the descriptive label when the row isn't in edit mode, and a custom editor creator (registered in propertiespanel.cpp) hands out the combobox in edit mode.
| void registerCulvertCodeRefConverter | ( | ) |
Install the CulvertCodeRef → QString converter (renders culvertCodeLabel(code)). Idempotent.