-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5966 from nyalldawson/layout_next
[layouts] Atlas and reporting framework
- Loading branch information
Showing
191 changed files
with
14,274 additions
and
1,265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/layout/qgsabstractlayoutiterator.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
class QgsAbstractLayoutIterator | ||
{ | ||
%Docstring | ||
An abstract base class for QgsLayout based classes which can be exported by QgsLayoutExporter. | ||
|
||
.. versionadded:: 3.0 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsabstractlayoutiterator.h" | ||
%End | ||
public: | ||
|
||
virtual ~QgsAbstractLayoutIterator(); | ||
|
||
virtual QgsLayout *layout() = 0; | ||
%Docstring | ||
Returns the layout associated with the iterator. | ||
%End | ||
|
||
virtual bool beginRender() = 0; | ||
%Docstring | ||
Called when rendering begins, before iteration commences. Returns true if successful, false if no iteration | ||
is available or required. | ||
|
||
.. seealso:: :py:func:`endRender()` | ||
%End | ||
|
||
virtual bool endRender() = 0; | ||
%Docstring | ||
Ends the render, performing any required cleanup tasks. | ||
%End | ||
|
||
virtual int count() = 0; | ||
%Docstring | ||
Returns the number of features to iterate over. | ||
%End | ||
|
||
virtual bool next() = 0; | ||
%Docstring | ||
Iterates to next feature, returning false if no more features exist to iterate over. | ||
%End | ||
|
||
virtual QString filePath( const QString &baseFilePath, const QString &extension ) = 0; | ||
%Docstring | ||
Returns the file path for the current feature, based on a | ||
specified base file path and extension. | ||
%End | ||
|
||
}; | ||
|
||
|
||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/layout/qgsabstractlayoutiterator.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
Oops, something went wrong.