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
swmmcontrolrulepropertyadapter.h File Reference
Include dependency graph for swmmcontrolrulepropertyadapter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SWMMControlRulePropertyAdapter
 

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 DA.2 — Property-tree adapter for [CONTROLS] rule blocks. The scalar surface today is: (1) the parsed rule name (from DA-ENG-02 swmm_control_get_id) and (2) the full rule text as a multi-line string editable via QPropertyModel's text editor delegate. BR replaces the freeform text editor with a structured RulesEditorDialog

  • RuleSyntaxHighlighter later.

Rule identity is by stored zero-based index rather than name — the engine has no per-rule mutator (DA-ENG-11) so writes round-trip via swmm_control_clear_rules + a re-add loop.