Skip to content

Commit

Permalink
Merge pull request #5931 from signedav/fieldtypeprop
Browse files Browse the repository at this point in the history
Make QgsField::type a Q_PROPERTY
  • Loading branch information
m-kuhn committed Dec 21, 2017
2 parents 2f19d62 + dc51dbf commit 5daf33a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsfield.h
Expand Up @@ -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 )
Expand Down

0 comments on commit 5daf33a

Please sign in to comment.