Skip to content

Commit

Permalink
Add a QgsFeatureRequest::EmbeddedSymbols flag to indicate that featur…
Browse files Browse the repository at this point in the history
…e level symbology should be fetched
  • Loading branch information
nyalldawson committed Mar 6, 2021
1 parent fadae2d commit c371bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/core/auto_generated/qgsfeaturerequest.sip.in
Expand Up @@ -66,6 +66,7 @@ Examples:
SubsetOfAttributes,
ExactIntersect,
IgnoreStaticNodesDuringExpressionCompilation,
EmbeddedSymbols,
};
typedef QFlags<QgsFeatureRequest::Flag> Flags;

Expand Down
1 change: 1 addition & 0 deletions src/core/qgsfeaturerequest.h
Expand Up @@ -83,6 +83,7 @@ class CORE_EXPORT QgsFeatureRequest
SubsetOfAttributes = 2, //!< Fetch only a subset of attributes (setSubsetOfAttributes sets this flag)
ExactIntersect = 4, //!< Use exact geometry intersection (slower) instead of bounding boxes
IgnoreStaticNodesDuringExpressionCompilation = 8, //!< If a feature request uses a filter expression which can be partially precalculated due to static nodes in the expression, setting this flag will prevent these precalculated values from being utilized during compilation of the filter for the backend provider. This flag significantly slows down feature requests and should be used for debugging purposes only. (Since QGIS 3.18)
EmbeddedSymbols = 16, //!< Retrieve any embedded feature symbology (since QGIS 3.20)
};
Q_DECLARE_FLAGS( Flags, Flag )

Expand Down

0 comments on commit c371bc3

Please sign in to comment.