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
openswmmvisworkspacemodel.h
Go to the documentation of this file.
1
16#ifndef SWMMVISWORKSPACEMODEL_H
17#define SWMMVISWORKSPACEMODEL_H
18
19#include <QAbstractItemModel>
20
22
35class OpenSWMMVisWorkspaceModel : public QAbstractItemModel
36{
37 Q_OBJECT
38
39public:
47
52
53 // QAbstractItemModel interface — reserved for future implementation.
54 // QModelIndex index(int row, int column, const QModelIndex &parent) const override;
55 // QModelIndex parent(const QModelIndex &child) const override;
56 // int rowCount(const QModelIndex &parent) const override;
57 // int columnCount(const QModelIndex &parent) const override;
58 // QVariant data(const QModelIndex &index, int role) const override;
59 // QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
60 // bool setData(const QModelIndex &index, const QVariant &value, int role) override;
61 // Qt::ItemFlags flags(const QModelIndex &index) const override;
62
63private:
64 OpenSWMMVisWorkspace *mProject;
65};
66
67#endif // SWMMVISWORKSPACEMODEL_H
Top-level project container managing sessions, the SWMM model layer, and persistence paths for one SW...
Definition openswmmvisworkspace.h:42
QAbstractItemModel that exposes an OpenSWMMVisWorkspace as a tree for Qt model-view widgets.
Definition openswmmvisworkspacemodel.h:36
~OpenSWMMVisWorkspaceModel()
Destructor.
Definition openswmmvisworkspacemodel.cpp:25
QVector< int > parent
union-find
Definition pslgminsize.cpp:176