![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Shared label-configuration value-type used by every layer that paints text labels. More...
#include <QColor>#include <QFont>#include <QJsonObject>#include <QString>Go to the source code of this file.
Classes | |
| struct | OpenSWMM::Render::LabelConfig |
| Per-layer label rendering parameters. More... | |
Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Render |
Functions | |
| bool | OpenSWMM::Render::operator== (const LabelConfig &a, const LabelConfig &b) |
| bool | OpenSWMM::Render::operator!= (const LabelConfig &a, const LabelConfig &b) |
Shared label-configuration value-type used by every layer that paints text labels.
Slice X.18 — the Labels tab in LayerStyleDialog edits one of these for the active layer. Both SWMMModelLayer and GISVectorLayer hold a LabelConfig and emit a change signal on mutation so the canvas + legend stay in sync via the standard MVC channel.
Schema is JSON-round-trippable and persisted into the .oswp via projectserializer.