Class: QgsTemporalProperty

class qgis.core.QgsTemporalProperty(parent: QObject = None, enabled: bool = False)

Bases: PyQt5.QtCore.QObject

Constructor for QgsTemporalProperty, with the specified parent object.

The active argument specifies whether the property is initially active (see isActive()).

Base class for temporal property.

New in version 3.14.

Parameters
  • parent (QObject = None) –

  • enabled

class Flag

Bases: int

FlagDontInvalidateCachedRendersWhenRangeChanges = 1
class Flags

Bases: sip.wrapper

QgsTemporalProperty.Flags(Union[QgsTemporalProperty.Flags, QgsTemporalProperty.Flag]) QgsTemporalProperty.Flags(QgsTemporalProperty.Flags)

changed

Emitted when the temporal properties have changed. [signal]

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
flags(self) → QgsTemporalProperty.Flags

Returns flags associated to the temporal property.

Return type

QgsTemporalProperty.Flags

isActive(self) → bool

Returns True if the temporal property is active.

See also

setIsActive()

Return type

bool

isSignalConnected(self, QMetaMethod) → bool
receivers(self, PYQT_SIGNAL) → int
sender(self) → QObject
senderSignalIndex(self) → int
setIsActive(self, active: bool)

Sets whether the temporal property is active.

See also

isActive()

Parameters

active (bool) –

timerEvent(self, QTimerEvent)