18 #ifndef QGSMESHTIMESETTINGS_H 19 #define QGSMESHTIMESETTINGS_H 22 #include <QDomDocument> 24 #include "qgis_core.h" 43 QgsMeshTimeSettings(
const QDateTime &absoluteTimeReferenceTime,
const QString &absoluteTimeFormat );
51 bool useAbsoluteTime()
const;
53 void setUseAbsoluteTime(
bool useAbsoluteTime );
56 double relativeTimeOffsetHours()
const;
58 void setRelativeTimeOffsetHours(
double relativeTimeOffsetHours );
61 QString relativeTimeFormat()
const;
63 void setRelativeTimeFormat(
const QString &relativeTimeFormat );
66 QDateTime absoluteTimeReferenceTime()
const;
68 void setAbsoluteTimeReferenceTime(
const QDateTime &absoluteTimeReferenceTime );
71 QString absoluteTimeFormat()
const;
73 void setAbsoluteTimeFormat(
const QString &absoluteTimeFormat );
76 bool mUseAbsoluteTime =
false;
78 double mRelativeTimeOffsetHours = 0;
79 QString mRelativeTimeFormat = QStringLiteral(
"d hh:mm:ss" );
81 QDateTime mAbsoluteTimeReferenceTime;
82 QString mAbsoluteTimeFormat = QStringLiteral(
"dd.MM.yyyy hh:mm:ss" );
87 #endif // QGSMESHTIMESETTINGS_H The class is used as a container of context for various read/write operations on other objects...
Q_DECLARE_METATYPE(QgsMeshTimeSettings)
Represents a mesh time settings for mesh datasets.