#include <swmmvisproject.h>
◆ SWMMVisProject()
| SWMMVisProject::SWMMVisProject |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~SWMMVisProject()
| SWMMVisProject::~SWMMVisProject |
( |
| ) |
|
|
overridedefault |
◆ addInstance()
Add an instance. No-op if already present. Does not take ownership of the window.
◆ dirtyInstances()
◆ instanceAdded
◆ instanceRemoved
◆ instances()
Snapshot of the current instance list (one window per SWMM model). Order reflects insertion order; not stable across add/remove.
◆ isDirty()
| bool SWMMVisProject::isDirty |
( |
| ) |
const |
Convenience — true when at least one instance is dirty.
◆ oswpPath()
| QString SWMMVisProject::oswpPath |
( |
| ) |
const |
|
inlinenoexcept |
Path of the .oswp file backing this project, or empty if the project hasn't been saved yet (untitled).
◆ oswpPathChanged
| void SWMMVisProject::oswpPathChanged |
( |
const QString & |
path | ) |
|
|
signal |
◆ removeInstance()
Remove an instance. Returns true if it was present.
◆ setOswpPath()
| void SWMMVisProject::setOswpPath |
( |
const QString & |
path | ) |
|
◆ setTitle()
| void SWMMVisProject::setTitle |
( |
const QString & |
title | ) |
|
◆ title()
| QString SWMMVisProject::title |
( |
| ) |
const |
|
inlinenoexcept |
Optional human-readable title (currently mirrors the basename of the .oswp path). Future: persisted in the v4 schema.
◆ titleChanged
| void SWMMVisProject::titleChanged |
( |
const QString & |
title | ) |
|
|
signal |
The documentation for this class was generated from the following files: