| QGIS API Documentation
    3.22.4-Białowieża (ce8e65e95e)
    | 
Base class for temporal property. More...
#include <qgstemporalproperty.h>

| Public Types | |
| enum | Flag { FlagDontInvalidateCachedRendersWhenRangeChanges = 1 } | 
| Flags attached to the temporal property.  More... | |
| Signals | |
| void | changed () | 
| Emitted when the temporal properties have changed.  More... | |
| Public Member Functions | |
| 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 trueif the temporal property is active.  More... | |
| void | setIsActive (bool active) | 
| Sets whether the temporal property is active.  More... | |
Base class for temporal property.
Definition at line 35 of file qgstemporalproperty.h.
Flags attached to the temporal property.
| Enumerator | |
|---|---|
| FlagDontInvalidateCachedRendersWhenRangeChanges | Any cached rendering will not be invalidated when temporal range context is modified. | 
Definition at line 44 of file qgstemporalproperty.h.
| QgsTemporalProperty::QgsTemporalProperty | ( | QObject * | parent = nullptr, | 
| bool | enabled = false | ||
| ) | 
Constructor for QgsTemporalProperty, with the specified parent object.
The active argument specifies whether the property is initially active (see isActive()).
Definition at line 21 of file qgstemporalproperty.cpp.
| 
 | signal | 
Emitted when the temporal properties have changed.
| 
 | inlinevirtual | 
Returns flags associated to the temporal property.
Reimplemented in QgsVectorLayerTemporalProperties, and QgsRasterLayerTemporalProperties.
Definition at line 74 of file qgstemporalproperty.h.
| bool QgsTemporalProperty::isActive | ( | ) | const | 
Returns true if the temporal property is active. 
Definition at line 36 of file qgstemporalproperty.cpp.
| void QgsTemporalProperty::setIsActive | ( | bool | active | ) | 
Sets whether the temporal property is active.
Definition at line 27 of file qgstemporalproperty.cpp.