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
landuseprovider.h
Go to the documentation of this file.
1
14#ifndef OPENSWMMVIS_LANDUSE_LANDUSEPROVIDER_H
15#define OPENSWMMVIS_LANDUSE_LANDUSEPROVIDER_H
16
17#include <QObject>
18#include <QString>
19
21
22class LandUseProvider : public QObject
23{
24 Q_OBJECT
25
26public:
27 explicit LandUseProvider(QString name, QObject *parent = nullptr);
28 ~LandUseProvider() override;
29
30 QString name() const noexcept { return m_name; }
31
32 double sweepInterval() const noexcept { return m_sweepInterval; }
33 double sweepRemoval() const noexcept { return m_sweepRemoval; }
34
35 void setName(QString newName);
36 void setSweepInterval(double v);
37 void setSweepRemoval(double v);
38
39signals:
40 void nameChanged(QString prev, QString now);
42
43private:
44 QString m_name;
45 double m_sweepInterval = 0.0;
46 double m_sweepRemoval = 0.0;
47};
48
49} // namespace openswmmvis::landuse
50
51#endif // OPENSWMMVIS_LANDUSE_LANDUSEPROVIDER_H
Definition landuseprovider.h:23
void nameChanged(QString prev, QString now)
void setSweepRemoval(double v)
Definition landuseprovider.cpp:33
void setName(QString newName)
Definition landuseprovider.cpp:18
double sweepInterval() const noexcept
days
Definition landuseprovider.h:32
void setSweepInterval(double v)
Definition landuseprovider.cpp:26
double sweepRemoval() const noexcept
fraction 0..1
Definition landuseprovider.h:33
QString name() const noexcept
Definition landuseprovider.h:30
Definition landuseprovider.h:20
QVector< int > v
pool vertex indices
Definition pslgminsize.cpp:159
QVector< int > parent
union-find
Definition pslgminsize.cpp:176