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
annotationtextitem.h File Reference

Per-text-annotation data model. More...

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

Go to the source code of this file.

Classes

class  AnnotationTextItem
 Data model for a single styled text annotation. More...
 

Detailed Description

Per-text-annotation data model.

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

A pure QObject (no QGraphicsItem inheritance) so a QPropertyModel can drive the style editor directly and the annotation layer can re-emit a single aggregate changed() signal on every edit (live preview hook). Position is stored in the owning layer's CRS; the layer reprojects to canvas CRS when populating the scene.