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

Engine-scoped store for user flags ([USER_FLAGS] / [USER_FLAG_VALUES]) — Phase 1 of docs/USER_FLAGS_UI_PLAN_2026-06-03.md. More...

#include <QObject>
#include <QString>
#include <QVector>
#include <openswmm/engine/openswmm_engine.h>
Include dependency graph for userflagsmodel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::UserFlagsModel
 
struct  openswmmvis::ui::UserFlagsModel::Def
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

Engine-scoped store for user flags ([USER_FLAGS] / [USER_FLAG_VALUES]) — Phase 1 of docs/USER_FLAGS_UI_PLAN_2026-06-03.md.

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

Thin QObject wrapper over the engine's user-flags C API. One live instance per engine handle, lazily owned by SWMMModelLayer (ensureUserFlagsModel()), shared by every UI surface that reads or mutates flags (User Flags Manager dialog, Attribute Table columns, Attribute Panel rows) so all views observe the same change signals.

All engine mutation calls for user flags live here — the same "only place" rule the layer's applyControlRule* helpers follow for control rules.