Skip to content

Commit

Permalink
Fix dox test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and nirvn committed May 18, 2020
1 parent efecc6f commit 2258e24
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 29 deletions.
18 changes: 6 additions & 12 deletions python/core/auto_generated/qgstemporalutils.sip.in
Expand Up @@ -31,21 +31,15 @@ This method considers the temporal range available from layers contained within
returns the maximal combined temporal extent of these layers.
%End

class AnimationExportSettings
{

%TypeHeaderCode
#include "qgstemporalutils.h"
%End
public:

QgsDateTimeRange animationRange;
struct AnimationExportSettings
{
QgsDateTimeRange animationRange;

QgsInterval frameDuration;
QgsInterval frameDuration;

QString outputDirectory;
QString outputDirectory;

QString fileNameTemplate;
QString fileNameTemplate;

};

Expand Down
33 changes: 16 additions & 17 deletions src/core/qgstemporalutils.h
Expand Up @@ -44,27 +44,26 @@ class CORE_EXPORT QgsTemporalUtils
*/
static QgsDateTimeRange calculateTemporalRangeForProject( QgsProject *project );

class AnimationExportSettings
//! Contains settings relating to exporting animations
struct AnimationExportSettings
{
public:
//! Dictates the overall temporal range of the animation.
QgsDateTimeRange animationRange;

//! Dictates the overall temporal range of the animation.
QgsDateTimeRange animationRange;
//! Duration of individual export frames
QgsInterval frameDuration;

//! Duration of individual export frames
QgsInterval frameDuration;
//! Destination directory for created image files.
QString outputDirectory;

//! Destination directory for created image files.
QString outputDirectory;

/**
* The filename template for exporting the frames.
*
* This must be in format prefix####.format, where number of
* \a # characters represents how many 0's should be left-padded to the frame number
* e.g. my###.jpg will create frames my001.jpg, my002.jpg, etc
*/
QString fileNameTemplate;
/**
* The filename template for exporting the frames.
*
* This must be in format prefix####.format, where number of
* \a # characters represents how many 0's should be left-padded to the frame number
* e.g. my###.jpg will create frames my001.jpg, my002.jpg, etc
*/
QString fileNameTemplate;

};

Expand Down

0 comments on commit 2258e24

Please sign in to comment.