19#ifndef QGSVECTORLAYERTEMPORALPROPERTIES_H
20#define QGSVECTORLAYERTEMPORALPROPERTIES_H
82 bool isVisibleInTemporalRange(
const QgsDateTimeRange &range )
const override;
118 QgsTemporalProperty::Flags flags()
const override;
130 void setFixedTemporalRange(
const QgsDateTimeRange &range );
140 const QgsDateTimeRange &fixedTemporalRange()
const;
152 QString startField()
const;
164 void setStartField(
const QString &
field );
173 QString endField()
const;
182 void setEndField(
const QString &
field );
193 QString startExpression()
const;
204 void setStartExpression(
const QString &expression );
215 QString endExpression()
const;
226 void setEndExpression(
const QString &endExpression );
240 QString durationField()
const;
254 void setDurationField(
const QString &
field );
281 double fixedDuration()
const;
294 void setFixedDuration(
double duration );
305 bool accumulateFeatures()
const;
316 void setAccumulateFeatures(
bool accumulate );
336 void guessDefaultsFromFields(
const QgsFields &fields );
338 QDomElement writeXml( QDomElement &element, QDomDocument &doc,
const QgsReadWriteContext &context )
override;
351 QgsDateTimeRange mFixedRange;
353 QString mStartFieldName;
354 QString mEndFieldName;
355 QString mDurationFieldName;
358 double mFixedDuration = 0;
360 bool mAccumulateFeatures =
false;
362 QString mStartExpression;
363 QString mEndExpression;
VectorTemporalMode
Vector layer temporal feature modes.
TemporalUnit
Temporal units.
VectorTemporalLimitMode
Mode for the handling of the limits of the filtering timeframe for vector features.
@ IncludeBeginExcludeEnd
Default mode: include the Begin limit, but exclude the End limit.
Base class for handling properties relating to a data provider's temporal capabilities.
Container of fields for a vector layer.
Base class for storage of map layer temporal properties.
Base class for all map layer types.
The class is used as a container of context for various read/write operations on other objects.
Encapsulates the context in which a QgsVectorLayer's temporal capabilities will be applied.
Implementation of map layer temporal properties for vector layers.
Represents a vector layer which manages a vector based data sets.