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
attributecandidates.h File Reference
#include "layers/swmmmodellayer.h"
#include <QStringList>
Include dependency graph for attributecandidates.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 
namespace  OpenSWMM::Render::AttributeCandidates
 

Functions

QStringList OpenSWMM::Render::AttributeCandidates::modelLayerNumeric (SWMMModelLayer::Category cat)
 
QStringList OpenSWMM::Render::AttributeCandidates::modelLayerString (SWMMModelLayer::Category cat)
 
QStringList OpenSWMM::Render::AttributeCandidates::resultsLayerNumeric (int kindOrdinal)
 

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 CTX.1 / CTX.3 — per-(layer, kind) attribute candidate lists.

Shared between SymbologyDialog (CTX.1 — populates the Graduated / Categorized / Single-tab attribute combos) and LayerTreePanel (CTX.3 — greys out Style ▸ Graduated / Categorized when no numeric / string attributes exist for the kind).

v1 hardcodes per-kind lists matching the SWMM*PropertyAdapter Q_PROPERTY declarations. A future pass can replace this with QMetaObject introspection (see the "Q_PROPERTY auto-introspection" deferred bullet in §L.BI.CTX of GUI_IMPLEMENTATION_PLAN.md).