From 12f85af0ee34f549d546d13f83dadadca68a2485 Mon Sep 17 00:00:00 2001 From: Hugo Mercier Date: Wed, 6 Feb 2013 15:06:59 +0100 Subject: [PATCH] [Atlas] Add SIP bindings for feature sorting and filtering --- python/core/composer/qgsatlascomposition.sip | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/python/core/composer/qgsatlascomposition.sip b/python/core/composer/qgsatlascomposition.sip index 3691e82eef4..48bd8afbe49 100644 --- a/python/core/composer/qgsatlascomposition.sip +++ b/python/core/composer/qgsatlascomposition.sip @@ -38,6 +38,18 @@ public: bool singleFile() const; void setSingleFile( bool single ); + bool sortFeatures() const; + void setSortFeatures( bool doSort ); + + bool sortAscending() const; + void setSortAscending( bool ascending ); + + QString featureFilter() const; + void setFeatureFilter( const QString& expression ); + + size_t sortKeyAttributeIndex() const; + void setSortKeyAttributeIndex( size_t idx ); + /** Begins the rendering. */ void beginRender(); /** Ends the rendering. Restores original extent */