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

changed

Emitted when the temporal properties have changed. [signal]

childEvent()
connectNotify()
customEvent()
disconnectNotify()
isActive(self) → bool

Returns True if the temporal property is active.

See also

setIsActive()

Return type

bool

isSignalConnected()
receivers()
sender()
senderSignalIndex()
setIsActive(self, active: bool)

Sets whether the temporal property is active.

See also

isActive()

Parameters

active (bool) –

timerEvent()