Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More work on atlas GUI
  • Loading branch information
nyalldawson committed Jan 5, 2018
1 parent e169c21 commit 520c2aa
Show file tree
Hide file tree
Showing 9 changed files with 595 additions and 16 deletions.
16 changes: 16 additions & 0 deletions python/core/layout/qgslayoutatlas.sip
Expand Up @@ -258,6 +258,11 @@ number of matching features.
virtual int count() const;


int currentFeatureNumber() const;
%Docstring
Returns the current feature number, where a value of 0 corresponds to the first feature.
%End

public slots:

virtual bool next();
Expand All @@ -268,6 +273,12 @@ number of matching features.

virtual bool last();

bool seekTo( int feature );

void refreshCurrentFeature();
%Docstring
Refreshes the current atlas feature, by refetching its attributes from the vector layer provider
%End

signals:

Expand All @@ -294,6 +305,11 @@ Is emitted when the atlas has an updated status bar ``message``.
void numberFeaturesChanged( int numFeatures );
%Docstring
Emitted when the number of features for the atlas changes.
%End

void featureChanged( const QgsFeature &feature );
%Docstring
Is emitted when the current atlas ``feature`` changes.
%End

void renderBegun();
Expand Down

0 comments on commit 520c2aa

Please sign in to comment.