19 #ifndef QGSVECTORLAYERTEMPORALPROPERTIES_H 
   20 #define QGSVECTORLAYERTEMPORALPROPERTIES_H 
   22 #include "qgis_core.h" 
   83     bool isVisibleInTemporalRange( 
const QgsDateTimeRange &range ) 
const override;
 
   91       ModeFixedTemporalRange = 0, 
 
  104     TemporalMode mode() 
const;
 
  111     void setMode( TemporalMode mode );
 
  116     QgsTemporalProperty::Flags flags() 
const override;
 
  128     void setFixedTemporalRange( 
const QgsDateTimeRange &range );
 
  138     const QgsDateTimeRange &fixedTemporalRange() 
const;
 
  150     QString startField() 
const;
 
  162     void setStartField( 
const QString &
field );
 
  171     QString endField() 
const;
 
  180     void setEndField( 
const QString &
field );
 
  191     QString startExpression() 
const;
 
  202     void setStartExpression( 
const QString &expression );
 
  213     QString endExpression() 
const;
 
  224     void setEndExpression( 
const QString &endExpression );
 
  238     QString durationField() 
const;
 
  252     void setDurationField( 
const QString &
field );
 
  279     double fixedDuration() 
const;
 
  292     void setFixedDuration( 
double duration );
 
  303     bool accumulateFeatures() 
const;
 
  314     void setAccumulateFeatures( 
bool accumulate );
 
  334     void guessDefaultsFromFields( 
const QgsFields &fields );
 
  336     QDomElement writeXml( QDomElement &element, QDomDocument &doc, 
const QgsReadWriteContext &context ) 
override;
 
  343     TemporalMode mMode = ModeFixedTemporalRange;
 
  346     QgsDateTimeRange mFixedRange;
 
  348     QString mStartFieldName;
 
  349     QString mEndFieldName;
 
  350     QString mDurationFieldName;
 
  353     double mFixedDuration = 0;
 
  355     bool mAccumulateFeatures = 
false;
 
  357     QString mStartExpression;
 
  358     QString mEndExpression;
 
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.
TemporalUnit
Temporal units.
@ TemporalMinutes
Minutes.
Encapsulates the context in which a QgsVectorLayer's temporal capabilities will be applied.
Implementation of map layer temporal properties for vector layers.
TemporalMode
Mode of the vector temporal properties.
@ ModeFeatureDateTimeStartAndDurationFromFields
Mode when features have a field for start time and a field for event duration.
@ ModeFeatureDateTimeInstantFromField
Mode when features have a datetime instant taken from a single field.
@ ModeFeatureDateTimeStartAndEndFromFields
Mode when features have separate fields for start and end times.
@ ModeRedrawLayerOnly
Redraw the layer when temporal range changes, but don't apply any filtering. Useful when symbology or...
@ ModeFeatureDateTimeStartAndEndFromExpressions
Mode when features use expressions for start and end times.
Represents a vector layer which manages a vector based data sets.