Skip to content
Permalink
Browse files
Refactor properties
Remove QgsAbstractProperty and subclasses, and instead use a single
QgsProperty class which covers the use of QgsAbstractProperty
and its subclasses. This simplifies the API and avoids pointer
handling. QgsProperty is implicitly shared for memory efficiency
and inexpensive copies.
  • Loading branch information
nyalldawson committed Jan 23, 2017
1 parent 90e80c1 commit ffaa40edc46e2153a89f246e9f4e30b536442eda
Show file tree
Hide file tree
Showing 74 changed files with 2,066 additions and 2,676 deletions.
@@ -114,7 +114,7 @@ class QgsComposerUtils
* @note this method was added in version 3.0
* @see readDataDefinedPropertyMap
*/
static QgsAbstractProperty* readOldDataDefinedProperty( const QgsComposerObject::DataDefinedProperty property, const QDomElement &ddElem ) /Factory/;
static QgsProperty readOldDataDefinedProperty( const QgsComposerObject::DataDefinedProperty property, const QDomElement &ddElem );

/** Returns a font where size is set in pixels and the size has been upscaled with FONT_WORKAROUND_SCALE
* to workaround QT font rendering bugs
@@ -120,6 +120,7 @@
%Include qgsprojectversion.sip
%Include qgsproperty.sip
%Include qgspropertycollection.sip
%Include qgspropertytransformer.sip
%Include qgsprovidermetadata.sip
%Include qgsproviderregistry.sip
%Include qgspythonrunner.sip

0 comments on commit ffaa40e

Please sign in to comment.