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
swmmnodepropertyadapter.h File Reference
#include <QObject>
#include <QString>
#include <QUuid>
#include <functional>
#include <openswmm/engine/openswmm_engine.h>
#include <openswmm/engine/openswmm_infrastructure.h>
#include "ui/properties/dataobjectref.h"
#include "ui/properties/initialqualityeditref.h"
#include "ui/properties/nodecompoundeditref.h"
#include "ui/properties/userflagseditref.h"
Include dependency graph for swmmnodepropertyadapter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SWMMNodePropertyAdapter
 
class  SWMMJunctionPropertyAdapter
 
class  SWMMVirtualJunctionPropertyAdapter
 
class  SWMMInletJunctionPropertyAdapter
 
class  SWMMOutfallPropertyAdapter
 
class  SWMMStoragePropertyAdapter
 
class  SWMMDividerPropertyAdapter
 

Namespaces

namespace  openswmmvis
 

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 Z.5.3 / AG.3 — Property-tree adapter for SWMM nodes.

A thin Q_OBJECT façade over (engine, node_idx) that exposes the editable node attributes as Q_PROPERTY for QPropertyModel. READ slots call swmm_node_get_*; WRITE slots call swmm_node_set_*. No state stored on the adapter — every read round-trips to the engine so the property tree stays in sync with whatever the SoA has after Run / Step / Save As / etc.

Object-type stays read-only (no Q_PROPERTY for nodeType) per the 2026-05-11 user rule: type conversion is a right-click action, not an inline edit.