Fix dox test

This commit is contained in:
Nyall Dawson 2020-05-18 09:46:59 +10:00 committed by Mathieu Pellerin
parent efecc6f46c
commit 2258e24f8c
2 changed files with 22 additions and 29 deletions

View File

@ -31,21 +31,15 @@ This method considers the temporal range available from layers contained within
returns the maximal combined temporal extent of these layers. returns the maximal combined temporal extent of these layers.
%End %End
class AnimationExportSettings struct AnimationExportSettings
{ {
QgsDateTimeRange animationRange;
%TypeHeaderCode QgsInterval frameDuration;
#include "qgstemporalutils.h"
%End
public:
QgsDateTimeRange animationRange; QString outputDirectory;
QgsInterval frameDuration; QString fileNameTemplate;
QString outputDirectory;
QString fileNameTemplate;
}; };

View File

@ -44,27 +44,26 @@ class CORE_EXPORT QgsTemporalUtils
*/ */
static QgsDateTimeRange calculateTemporalRangeForProject( QgsProject *project ); 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. //! Duration of individual export frames
QgsDateTimeRange animationRange; QgsInterval frameDuration;
//! Duration of individual export frames //! Destination directory for created image files.
QgsInterval frameDuration; 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
* The filename template for exporting the frames. * \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
* 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 QString fileNameTemplate;
* e.g. my###.jpg will create frames my001.jpg, my002.jpg, etc
*/
QString fileNameTemplate;
}; };