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.

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

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)