Unverified Commit 4254acfd authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8701 from airmap/polygon_area_property

Make QGCMapPolygon area accessible in QML
parents 29237694 244b8a8a
......@@ -32,6 +32,7 @@ public:
Q_PROPERTY(int count READ count NOTIFY countChanged)
Q_PROPERTY(QVariantList path READ path NOTIFY pathChanged)
Q_PROPERTY(double area READ area NOTIFY pathChanged)
Q_PROPERTY(QmlObjectListModel* pathModel READ qmlPathModel CONSTANT)
Q_PROPERTY(bool dirty READ dirty WRITE setDirty NOTIFY dirtyChanged)
Q_PROPERTY(QGeoCoordinate center READ center WRITE setCenter NOTIFY centerChanged)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment