QGIS API Documentation  3.23.0-Master (eb871beae0)
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. More...
 
QgsExpressionContext createExpressionContext () const override
 This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
 
void saveTemporalProperties ()
 Save widget temporal properties inputs. More...
 
void syncToLayer ()
 Updates the widget state to match the current layer state. More...
 
- 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.

Since
QGIS 3.0

Implements QgsExpressionContextGenerator.

Definition at line 146 of file qgsvectorlayertemporalpropertieswidget.cpp.

◆ saveTemporalProperties()

void QgsVectorLayerTemporalPropertiesWidget::saveTemporalProperties ( )

Save widget temporal properties inputs.

Definition at line 104 of file qgsvectorlayertemporalpropertieswidget.cpp.

◆ syncToLayer()

void QgsVectorLayerTemporalPropertiesWidget::syncToLayer ( )

Updates the widget state to match the current layer state.

Definition at line 153 of file qgsvectorlayertemporalpropertieswidget.cpp.


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