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
swmmlandusepropertyadapter.h
Go to the documentation of this file.
1
12#ifndef SWMMLANDUSEPROPERTYADAPTER_H
13#define SWMMLANDUSEPROPERTYADAPTER_H
14
16
18{
19 Q_OBJECT
20 Q_PROPERTY(double sweepInterval READ sweepInterval WRITE setSweepInterval NOTIFY changed)
21 Q_PROPERTY(double sweepRemoval READ sweepRemoval WRITE setSweepRemoval NOTIFY changed)
22
23public:
25
26 [[nodiscard]] double sweepInterval() const;
27 [[nodiscard]] double sweepRemoval() const;
28
29 Q_INVOKABLE QString displayLabelFor(const QString &property) const;
30
31public slots:
32 void setSweepInterval(double v);
33 void setSweepRemoval(double v);
34
35private:
36 [[nodiscard]] int idx() const;
37};
38
39#endif // SWMMLANDUSEPROPERTYADAPTER_H
Common base for non-spatial Data Object property adapters.
Definition swmmdataobjectpropertyadapter.h:38
Definition swmmlandusepropertyadapter.h:18
Q_INVOKABLE QString displayLabelFor(const QString &property) const
Definition swmmlandusepropertyadapter.cpp:17
void setSweepInterval(double v)
Definition swmmlandusepropertyadapter.cpp:43
double sweepInterval
Definition swmmlandusepropertyadapter.h:20
double sweepRemoval
Definition swmmlandusepropertyadapter.h:21
void setSweepRemoval(double v)
Definition swmmlandusepropertyadapter.cpp:51
QVector< int > v
pool vertex indices
Definition pslgminsize.cpp:159