Class: QgsTemporalProperty

class qgis.core.QgsTemporalProperty

Bases: PyQt5.QtCore.QObject

Base class for temporal property.

New in version 3.14.

QgsTemporalProperty(parent: QObject = None, enabled: bool = False) Constructor for QgsTemporalProperty, with the specified parent object.

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

Methods

childEvent

connectNotify

customEvent

disconnectNotify

flags

Returns flags associated to the temporal property.

isActive

Returns True if the temporal property is active.

isSignalConnected

receivers

sender

senderSignalIndex

setIsActive

Sets whether the temporal property is active.

timerEvent

Signals

changed

Emitted when the temporal properties have changed.

Attributes

FlagDontInvalidateCachedRendersWhenRangeChanges

class Flag

Bases: int

FlagDontInvalidateCachedRendersWhenRangeChanges = 1
class Flags
class Flags(Union[QgsTemporalProperty.Flags, QgsTemporalProperty.Flag])
class Flags(QgsTemporalProperty.Flags)

Bases: sip.wrapper

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)