QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsVectorLayerTemporalPropertiesWidget Class Reference

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

#include <qgsvectorlayertemporalpropertieswidget.h>

Inheritance diagram for QgsVectorLayerTemporalPropertiesWidget:
Inheritance graph
[legend]

Public Member Functions

 QgsVectorLayerTemporalPropertiesWidget (QWidget *parent=nullptr, QgsVectorLayer *layer=nullptr)
 Constructor for QgsVectorLayerTemporalPropertiesWidget.
 
QgsExpressionContext createExpressionContext () const override
 This method needs to be reimplemented in all classes which implement this interface and return an expression context.
 
void saveTemporalProperties ()
 Save widget temporal properties inputs.
 
void syncToLayer ()
 Updates the widget state to match the current layer state.
 
- Public Member Functions inherited from QgsExpressionContextGenerator
virtual ~QgsExpressionContextGenerator ()=default
 

Detailed Description

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

Since
QGIS 3.14

Definition at line 34 of file qgsvectorlayertemporalpropertieswidget.h.

Constructor & Destructor Documentation

◆ QgsVectorLayerTemporalPropertiesWidget()

QgsVectorLayerTemporalPropertiesWidget::QgsVectorLayerTemporalPropertiesWidget ( QWidget *  parent = nullptr,
QgsVectorLayer layer = nullptr 
)

Member Function Documentation

◆ createExpressionContext()

QgsExpressionContext QgsVectorLayerTemporalPropertiesWidget::createExpressionContext ( ) const
overridevirtual

This method needs to be reimplemented in all classes which implement this interface and return an expression context.

Implements QgsExpressionContextGenerator.

Definition at line 163 of file qgsvectorlayertemporalpropertieswidget.cpp.

◆ saveTemporalProperties()

void QgsVectorLayerTemporalPropertiesWidget::saveTemporalProperties ( )

Save widget temporal properties inputs.

Definition at line 121 of file qgsvectorlayertemporalpropertieswidget.cpp.

◆ syncToLayer()

void QgsVectorLayerTemporalPropertiesWidget::syncToLayer ( )

Updates the widget state to match the current layer state.

Definition at line 170 of file qgsvectorlayertemporalpropertieswidget.cpp.


The documentation for this class was generated from the following files: