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

Slice BQ Phase 6.7.4 — QObject Q_PROPERTY surface backing the TransectEditorDialog middle-pane property tree (QPropertyModel). More...

#include <QObject>
#include <QPointer>
#include <QString>
Include dependency graph for transectpropertybag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::TransectPropertyBag
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::transect
 
namespace  openswmmvis::ui
 

Detailed Description

Slice BQ Phase 6.7.4 — QObject Q_PROPERTY surface backing the TransectEditorDialog middle-pane property tree (QPropertyModel).

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

Bidirectional wiring: on bind(), the bag pulls current values from the bound TransectProvider; setter slots push back to the provider via the SWMMModelLayer apply helpers (if a layer is bound) or directly on the provider (test mode). Property changes flow back through the provider's signals → bag's setX(currentValue) which is a no-op if the value did not change, breaking the feedback loop.

Exposed groups (the displayLabelFor() prefix drives section headers in the QPropertyModel tree):

Roughness — nLeftBank, nRightBank, nChannel Bank Stations — xLeftBank, xRightBank Encroachment Stations — xLeftEncroachment, xRightEncroachment Modifiers — stationMultiplier, elevationOffset, meanderFactor