![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
QAbstractItemModel that exposes an OpenSWMMVisWorkspace as a tree for Qt model-view widgets. More...
#include <openswmmvisworkspacemodel.h>
Public Member Functions | |
| OpenSWMMVisWorkspaceModel (OpenSWMMVisWorkspace *parent=nullptr) | |
| Constructs the model around the given workspace. | |
| ~OpenSWMMVisWorkspaceModel () | |
| Destructor. | |
QAbstractItemModel that exposes an OpenSWMMVisWorkspace as a tree for Qt model-view widgets.
The model mirrors the workspace's session/layer hierarchy. The full virtual interface is reserved for future implementation; the class exists today to establish the ownership contract and header structure before the view panels are wired up.
|
explicit |
Constructs the model around the given workspace.
| parent | The workspace whose sessions and layers this model will expose. Passed as the QObject parent so Qt handles lifetime automatically when the workspace is destroyed. |
| OpenSWMMVisWorkspaceModel::~OpenSWMMVisWorkspaceModel | ( | ) |
Destructor.