SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
labelconfig.h File Reference

Shared label-configuration value-type used by every layer that paints text labels. More...

#include <QColor>
#include <QFont>
#include <QJsonObject>
#include <QString>
Include dependency graph for labelconfig.h:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Shared label-configuration value-type used by every layer that paints text labels.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

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.