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
graduatedclass.h File Reference
#include <QColor>
#include <QJsonObject>
#include <QObject>
#include <QString>
Include dependency graph for graduatedclass.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Render::GraduatedClass
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

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 GRAD.1 — one row in the graduated class-table editor. Each instance carries a (minValue, maxValue, color, label, visible) tuple and exposes them as Q_PROPERTYs so QPropertyModel / any property- driven view can edit them without per-row glue code.

The GraduatedRenderer owns a QList<GraduatedClass *> that drives the paint loop's color picking when non-empty (overrides the ramp).