QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Signals | Public Member Functions | List of all members
QgsMeshRendererVectorSettingsWidget Class Reference

A widget for setup of the vector dataset renderer settings of a mesh layer. More...

#include <qgsmeshrenderervectorsettingswidget.h>

Inheritance diagram for QgsMeshRendererVectorSettingsWidget:
Inheritance graph
[legend]

Signals

void widgetChanged ()
 Mesh rendering settings changed. More...
 

Public Member Functions

 QgsMeshRendererVectorSettingsWidget (QWidget *parent=nullptr)
 A widget to hold the renderer Vector settings for a mesh layer. More...
 
void setActiveDatasetGroup (int groupIndex)
 Associates a dataset group with the widget (should be set before syncToLayer()) More...
 
void setLayer (QgsMeshLayer *layer)
 Associates mesh layer with the widget. More...
 
QgsMeshRendererVectorSettings settings () const
 Returns vector settings. More...
 
void syncToLayer ()
 Synchronizes widgets state with associated mesh layer. More...
 

Detailed Description

A widget for setup of the vector dataset renderer settings of a mesh layer.

The layer must be connected and an active dataset must be selected.

Definition at line 40 of file qgsmeshrenderervectorsettingswidget.h.

Constructor & Destructor Documentation

◆ QgsMeshRendererVectorSettingsWidget()

QgsMeshRendererVectorSettingsWidget::QgsMeshRendererVectorSettingsWidget ( QWidget *  parent = nullptr)

A widget to hold the renderer Vector settings for a mesh layer.

Parameters
parentParent object

Definition at line 22 of file qgsmeshrenderervectorsettingswidget.cpp.

Member Function Documentation

◆ setActiveDatasetGroup()

void QgsMeshRendererVectorSettingsWidget::setActiveDatasetGroup ( int  groupIndex)
inline

Associates a dataset group with the widget (should be set before syncToLayer())

Definition at line 56 of file qgsmeshrenderervectorsettingswidget.h.

◆ setLayer()

void QgsMeshRendererVectorSettingsWidget::setLayer ( QgsMeshLayer layer)

Associates mesh layer with the widget.

Definition at line 118 of file qgsmeshrenderervectorsettingswidget.cpp.

◆ settings()

QgsMeshRendererVectorSettings QgsMeshRendererVectorSettingsWidget::settings ( ) const

Returns vector settings.

Definition at line 123 of file qgsmeshrenderervectorsettingswidget.cpp.

◆ syncToLayer()

void QgsMeshRendererVectorSettingsWidget::syncToLayer ( )

Synchronizes widgets state with associated mesh layer.

Definition at line 196 of file qgsmeshrenderervectorsettingswidget.cpp.

◆ widgetChanged

void QgsMeshRendererVectorSettingsWidget::widgetChanged ( )
signal

Mesh rendering settings changed.


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