Skip to content
Permalink
Browse files

Gadgetize QgsPointV2

  • Loading branch information
m-kuhn committed Jun 2, 2017
1 parent 1067239 commit 164e4640dad46bf95fd5cdac6aae4d3b19a7a782
Showing with 9 additions and 1 deletion.
  1. +2 −1 src/core/CMakeLists.txt
  2. +7 −0 src/core/geometry/qgspointv2.h
@@ -641,6 +641,8 @@ SET(QGIS_CORE_MOC_HDRS
raster/qgsrasterlayer.h
raster/qgsrasterdataprovider.h

geometry/qgspointv2.h

gps/qgsgpsconnection.h
gps/qgsgpsdetector.h
gps/qgsnmeaconnection.h
@@ -993,7 +995,6 @@ SET(QGIS_CORE_HDRS
geometry/qgsmultipoint.h
geometry/qgsmultipolygon.h
geometry/qgsmultisurface.h
geometry/qgspointv2.h
geometry/qgspolygon.h
geometry/qgsrectangle.h
geometry/qgsregularpolygon.h
@@ -36,6 +36,13 @@
*/
class CORE_EXPORT QgsPointV2: public QgsAbstractGeometry
{
Q_GADGET

Q_PROPERTY( double x READ x WRITE setX )
Q_PROPERTY( double y READ y WRITE setY )
Q_PROPERTY( double z READ z WRITE setZ )
Q_PROPERTY( double m READ m WRITE setM )

public:

/** Construct a 2 dimensional point with an initial x and y coordinate.

0 comments on commit 164e464

Please sign in to comment.
You can’t perform that action at this time.