QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
16 #ifndef QGSTEMPORALUTILS_H
17 #define QGSTEMPORALUTILS_H
19 #include "qgis_core.h"
64 return !years && !months && !days &&
65 !hours && !minutes && !seconds;
71 return years == other.
years && months == other.
months && weeks == other.
weeks &&
72 days == other.
days && hours == other.
hours &&
78 return !( *
this == other );
89 QString toString()
const;
97 long long toSeconds()
const;
102 QDateTime addToDateTime(
const QDateTime &dateTime );
131 static QgsDateTimeRange calculateTemporalRangeForProject(
QgsProject *project );
144 static QList< QgsDateTimeRange > usedTemporalRangesForProject(
QgsProject *project );
175 double frameRate = 30;
219 static QDateTime calculateFrameTime(
const QDateTime &start,
const long long frame,
const QgsInterval &interval );
232 static QList< QDateTime > calculateDateTimesUsingDuration(
const QDateTime &start,
const QDateTime &end,
const QString &duration,
bool &ok
SIP_OUT,
bool &maxValuesExceeded
SIP_OUT,
int maxValues = -1 );
247 static QList< QDateTime > calculateDateTimesUsingDuration(
const QDateTime &start,
const QDateTime &end,
const QgsTimeDuration &duration,
bool &maxValuesExceeded
SIP_OUT,
int maxValues = -1 );
259 static QList< QDateTime > calculateDateTimesFromISO8601(
const QString &
string,
bool &ok
SIP_OUT,
bool &maxValuesExceeded
SIP_OUT,
int maxValues = -1 );
264 #endif // QGSTEMPORALUTILS_H
Contains settings relating to exporting animations.
bool operator==(const QgsTimeDuration &other) const
QgsDateTimeRange animationRange
Dictates the overall temporal range of the animation.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
QString outputDirectory
Destination directory for created image files.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
QString fileNameTemplate
The filename template for exporting the frames.
Contains utility methods for working with temporal layers and projects.
bool isNull() const
Returns true if the duration is null, i.e.
QgsInterval frameDuration
Duration of individual export frames.
Contains utility methods for working with temporal layers and projects.
A representation of the interval between two datetime values.
Interface for map decorations.
The QgsMapSettings class contains configuration for rendering of the map. The rendering itself is don...
QList< QgsMapDecoration * > decorations
List of decorations to draw onto exported frames.
bool operator!=(const QgsTimeDuration &other) const