|
| QgsMeshLayerTemporalProperties (QObject *parent=nullptr, bool enabled=true) |
| Constructor for QgsMeshLayerTemporalProperties. More...
|
|
bool | alwaysLoadReferenceTimeFromSource () const |
| Returns whether the time proporties are automatically reloaded from provider when project is opened or layer is reloaded. More...
|
|
QgsDateTimeRange | calculateTemporalExtent (QgsMapLayer *layer) const override |
| Attempts to calculate the overall temporal extent for the specified layer, using the settings defined by the temporal properties object. More...
|
|
bool | isValid () const |
| Returns whether the instance is valid. More...
|
|
QgsMeshDataProviderTemporalCapabilities::MatchingTemporalDatasetMethod | matchingMethod () const |
| Returns the method used to match dataset from temporal capabilities. More...
|
|
bool | readXml (const QDomElement &element, const QgsReadWriteContext &context) override |
| Reads temporal properties from a DOM element previously written by writeXml(). More...
|
|
QDateTime | referenceTime () const |
| Returns the reference time. More...
|
|
void | setAlwaysLoadReferenceTimeFromSource (bool autoReloadFromProvider) |
| Sets whether the time proporties are automatically reloaded from provider when project is opened or layer is reloaded. More...
|
|
void | setDefaultsFromDataProviderTemporalCapabilities (const QgsDataProviderTemporalCapabilities *capabilities) override |
| Sets the layers temporal settings to appropriate defaults based on a provider's temporal capabilities. More...
|
|
void | setIsValid (bool isValid) |
| Sets whether the instance is valid. More...
|
|
void | setMatchingMethod (const QgsMeshDataProviderTemporalCapabilities::MatchingTemporalDatasetMethod &matchingMethod) |
| Sets the method used to match dataset from temporal capabilities. More...
|
|
void | setReferenceTime (const QDateTime &referenceTime, const QgsDataProviderTemporalCapabilities *capabilities) |
| Sets the reference time and update the time extent from the temporal capabilities, if the temporal capabilities is null, set a void time extent (reference time to reference time) More...
|
|
QgsDateTimeRange | timeExtent () const |
| Returns the time extent. More...
|
|
QDomElement | writeXml (QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context) override |
| Writes the properties to a DOM element, to be used later with readXml(). More...
|
|
| QgsMapLayerTemporalProperties (QObject *parent, bool enabled=false) |
| Constructor for QgsMapLayerTemporalProperties, with the specified parent object. More...
|
|
virtual QList< QgsDateTimeRange > | allTemporalRanges (QgsMapLayer *layer) const |
| Attempts to calculate the overall list of all temporal extents which are contained in the specified layer, using the settings defined by the temporal properties object. More...
|
|
virtual QgsDateTimeRange | calculateTemporalExtent (QgsMapLayer *layer) const |
| Attempts to calculate the overall temporal extent for the specified layer, using the settings defined by the temporal properties object. More...
|
|
virtual bool | isVisibleInTemporalRange (const QgsDateTimeRange &range) const |
| Returns true if the layer should be visible and rendered for the specified time range. More...
|
|
virtual bool | readXml (const QDomElement &element, const QgsReadWriteContext &context)=0 |
| Reads temporal properties from a DOM element previously written by writeXml(). More...
|
|
virtual void | setDefaultsFromDataProviderTemporalCapabilities (const QgsDataProviderTemporalCapabilities *capabilities)=0 |
| Sets the layers temporal settings to appropriate defaults based on a provider's temporal capabilities. More...
|
|
virtual QDomElement | writeXml (QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context)=0 |
| Writes the properties to a DOM element, to be used later with readXml(). More...
|
|
| QgsTemporalProperty (QObject *parent=nullptr, bool enabled=false) |
| Constructor for QgsTemporalProperty, with the specified parent object. More...
|
|
virtual QgsTemporalProperty::Flags | flags () const |
| Returns flags associated to the temporal property. More...
|
|
bool | isActive () const |
| Returns true if the temporal property is active. More...
|
|
void | setIsActive (bool active) |
| Sets whether the temporal property is active. More...
|
|