![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <outputstatsregistry.h>
Public Attributes | |
| QUuid | stableId |
| QString | shortLabel |
| QString | tooltipPath |
| SWMMResultsLayer * | layer = nullptr |
One row in the registry. Captures everything a consumer needs to render a row in the Stats-source combo and dispatch a stat-getter call back to the underlying layer.
| SWMMResultsLayer* openswmmvis::OutputIdentity::layer = nullptr |
Pointer to the underlying layer. Null-checked by consumers before dispatch (the layer may be destroyed before the registry receives the unregister callback in pathological teardown orders; QPointer in the registry's internal storage handles that gracefully).
| QString openswmmvis::OutputIdentity::shortLabel |
Human-readable short label, derived from the .out filename without extension (e.g. "run-A"). Collision-resolved by appending "(N)" when two .out files share a basename across loaded layers.
| QUuid openswmmvis::OutputIdentity::stableId |
Stable identity for this loaded output, generated at registration time. Survives layer reorder so per-project QSettings can persist the user's last-selected stats source by UUID. The null UUID is the "editing-engine" sentinel and is never produced by registerLayer.
| QString openswmmvis::OutputIdentity::tooltipPath |
Full absolute path to the .out file. Suitable for use as the combo entry's tool-tip.