Skip to content

Commit

Permalink
fix bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 3, 2021
1 parent 2cc632e commit eb46def
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions python/core/auto_generated/symbology/qgssymbollayer.sip.in
Expand Up @@ -309,6 +309,12 @@ Shall be reimplemented by subclasses to create a deep copy of the instance.

virtual QString ogrFeatureStyle( double mmScaleFactor, double mapUnitScaleFactor ) const;

virtual QVariantMap properties() const = 0;
%Docstring
Should be reimplemented by subclasses to return a string map that
contains the configuration information for the symbol layer. This
is used to serialize a symbol layer perstistently.
%End

virtual void drawPreviewIcon( QgsSymbolRenderContext &context, QSize size ) = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology/qgssymbollayer.h
Expand Up @@ -343,7 +343,7 @@ class CORE_EXPORT QgsSymbolLayer
* contains the configuration information for the symbol layer. This
* is used to serialize a symbol layer perstistently.
*/
virtual QVariantMap properties() const = 0 SIP_SKIP;
virtual QVariantMap properties() const = 0;

virtual void drawPreviewIcon( QgsSymbolRenderContext &context, QSize size ) = 0;

Expand Down

0 comments on commit eb46def

Please sign in to comment.