Skip to content
Permalink
Browse files

Fix dox test

  • Loading branch information
nyalldawson authored and nirvn committed May 17, 2020
1 parent efecc6f commit 2258e24f8c703ee2a46b73c87be1721da2d8789c
Showing with 22 additions and 29 deletions.
  1. +6 −12 python/core/auto_generated/qgstemporalutils.sip.in
  2. +16 −17 src/core/qgstemporalutils.h
@@ -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;

};

@@ -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;

};

0 comments on commit 2258e24

Please sign in to comment.
You can’t perform that action at this time.