Skip to content
Permalink
Browse files

Merge pull request #7660 from 3nids/maplayer_crs_property

add Q_PROPERTY for crs in QgsMapLayer
  • Loading branch information
m-kuhn committed Aug 20, 2018
2 parents 0dbb63a + 9c97a34 commit 7c9aa5d0d4ac2a4a5fa6609339fe4ac24dc68ca1
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsmaplayer.h
@@ -65,6 +65,7 @@ class CORE_EXPORT QgsMapLayer : public QObject
Q_PROPERTY( QString name READ name WRITE setName NOTIFY nameChanged )
Q_PROPERTY( int autoRefreshInterval READ autoRefreshInterval WRITE setAutoRefreshInterval NOTIFY autoRefreshIntervalChanged )
Q_PROPERTY( QgsLayerMetadata metadata READ metadata WRITE setMetadata NOTIFY metadataChanged )
Q_PROPERTY( QgsCoordinateReferenceSystem crs READ crs WRITE setCrs NOTIFY crsChanged )

#ifdef SIP_RUN
SIP_CONVERT_TO_SUBCLASS_CODE

0 comments on commit 7c9aa5d

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