82 bool isVisibleInTemporalRange(
const QgsDateTimeRange &range )
const override;
118 QgsTemporalProperty::Flags flags()
const override;
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;
353 QString mStartFieldName;
354 QString mEndFieldName;
355 QString mDurationFieldName;
358 double mFixedDuration = 0;
360 bool mAccumulateFeatures =
false;
362 QString mStartExpression;
363 QString mEndExpression;
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.