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
userflagseditref.cpp File Reference
#include "ui/properties/userflagseditref.h"
#include "ui/models/userflagsmodel.h"
#include <QObject>
Include dependency graph for userflagseditref.cpp:

Functions

QString userFlagsSummaryFor (openswmmvis::ui::UserFlagsModel *model, const QString &objectType, const QString &objectName)
 
void registerUserFlagsEditRefConverter ()
 

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

Function Documentation

◆ registerUserFlagsEditRefConverter()

void registerUserFlagsEditRefConverter ( )

Install the UserFlagsEditRef → QString metatype converter so the read-only DisplayRole path renders summary. Idempotent.

Here is the caller graph for this function:

◆ userFlagsSummaryFor()

QString userFlagsSummaryFor ( openswmmvis::ui::UserFlagsModel model,
const QString &  objectType,
const QString &  objectName 
)

Compute the cell summary for one object: "(no flags defined)", "(none set)", or "n of m set". Null model reads as no flags.

Here is the call graph for this function:
Here is the caller graph for this function: