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
swmmhydrographpropertyadapter.h
Go to the documentation of this file.
1
14#ifndef SWMMHYDROGRAPHPROPERTYADAPTER_H
15#define SWMMHYDROGRAPHPROPERTYADAPTER_H
16
19
21{
22 Q_OBJECT
23 // Slice BM.0-Browse-Edit (2026-05-25) — typed as DataObjectRef
24 // (kind=RainGage) so the cell hosts the picker editor. Engine setter
25 // is swmm_hydrograph_set_gage.
27 READ gageNameRef WRITE setGageNameRef NOTIFY changed)
28 Q_PROPERTY(int rowCount READ rowCount NOTIFY changed)
29 Q_PROPERTY(QString rowSummary READ rowSummary NOTIFY changed)
30
31public:
33
35 [[nodiscard]] QString gageName() const;
37 [[nodiscard]] DataObjectRef gageNameRef() const;
39 [[nodiscard]] int rowCount() const;
41 [[nodiscard]] QString rowSummary() const;
42
43 Q_INVOKABLE QString displayLabelFor(const QString &property) const;
44
45public slots:
49 void setGageNameRef(const DataObjectRef &ref);
50};
51
52#endif // SWMMHYDROGRAPHPROPERTYADAPTER_H
Common base for non-spatial Data Object property adapters.
Definition swmmdataobjectpropertyadapter.h:38
Definition swmmhydrographpropertyadapter.h:21
QString rowSummary
Definition swmmhydrographpropertyadapter.h:29
DataObjectRef gageName
Definition swmmhydrographpropertyadapter.h:27
DataObjectRef gageNameRef() const
Definition swmmhydrographpropertyadapter.cpp:42
int rowCount
Definition swmmhydrographpropertyadapter.h:28
Q_INVOKABLE QString displayLabelFor(const QString &property) const
Definition swmmhydrographpropertyadapter.cpp:14
void setGageNameRef(const DataObjectRef &ref)
Definition swmmhydrographpropertyadapter.cpp:52
EdgeRef ref
Definition pslgminsize.cpp:377
Definition dataobjectref.h:34