Class: QgsVectorLayerTemporalPropertiesWidget

A widget for configuring the temporal properties for a vector layer.

Added in version 3.14.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsVectorLayerTemporalPropertiesWidget

Base classes

QWidget

QObject

QPaintDevice

QgsExpressionContextGenerator

Abstract interface for generating an expression context.

Methods

saveTemporalProperties

Save widget temporal properties inputs.

syncToLayer

Updates the widget state to match the current layer state.

class qgis.gui.QgsVectorLayerTemporalPropertiesWidget[source]

Bases: QWidget, QgsExpressionContextGenerator

__init__(parent: QWidget | None = None, layer: QgsVectorLayer | None = None)

Constructor for QgsVectorLayerTemporalPropertiesWidget.

Parameters:
  • parent (Optional[QWidget] = None)

  • layer (Optional[QgsVectorLayer] = None)

saveTemporalProperties(self)[source]

Save widget temporal properties inputs.

syncToLayer(self)[source]

Updates the widget state to match the current layer state.