Skip to content
Permalink
Browse files

Merge pull request #5931 from signedav/fieldtypeprop

Make QgsField::type a Q_PROPERTY
  • Loading branch information
m-kuhn committed Dec 21, 2017
2 parents 2f19d62 + dc51dbf commit 5daf33a578ea114be48fddb827dbacd32dea0849
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsfield.h
@@ -52,6 +52,7 @@ class CORE_EXPORT QgsField
Q_PROPERTY( bool isNumeric READ isNumeric )
Q_PROPERTY( int length READ length WRITE setLength )
Q_PROPERTY( int precision READ precision WRITE setPrecision )
Q_PROPERTY( QVariant::Type type READ type WRITE setType )
Q_PROPERTY( QString comment READ comment WRITE setComment )
Q_PROPERTY( QString name READ name WRITE setName )
Q_PROPERTY( QString alias READ alias WRITE setAlias )

0 comments on commit 5daf33a

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