Class: QgsTemporalProperty¶
- class qgis.core.QgsTemporalProperty(parent: QObject = None, enabled: bool = False)¶
Bases:
PyQt5.QtCore.QObject
Constructor for
QgsTemporalProperty
, with the specifiedparent
object.The
active
argument specifies whether the property is initially active (seeisActive()
).Base class for temporal property.
New in version 3.14:
Methods
Returns flags associated to the temporal property.
Returns
True
if the temporal property is active.Sets whether the temporal property is
active
.Signals
Emitted when the temporal properties have changed.
Attributes
- class Flag¶
Bases:
int
- FlagDontInvalidateCachedRendersWhenRangeChanges = 1¶
- class Flags¶
- class Flags(Union[QgsTemporalProperty.Flags, QgsTemporalProperty.Flag]) None
- class Flags(QgsTemporalProperty.Flags) None
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
- isActive(self) bool ¶
Returns
True
if the temporal property is active.See also
- 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
- Parameters
active (bool) –
- timerEvent(self, QTimerEvent)¶