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

Widget for selection of active dataset group from tree view. More...

#include <qgsmeshrendereractivedatasetwidget.h>

Inheritance diagram for QgsMeshRendererActiveDatasetWidget:
Inheritance graph
[legend]

Signals

void activeScalarGroupChanged (int groupIndex)
 Emitted when the current scalar group gets changed. More...
 
void activeVectorGroupChanged (int groupIndex)
 Emitted when the current vector group gets changed. More...
 
void widgetChanged ()
 Emitted when any settings related to rendering changed. More...
 

Public Member Functions

 QgsMeshRendererActiveDatasetWidget (QWidget *parent=nullptr)
 A widget to hold the renderer scalar settings for a mesh layer. More...
 
 ~QgsMeshRendererActiveDatasetWidget () override
 
int activeScalarDatasetGroup () const
 Returns index of the active scalar dataset group. More...
 
int activeVectorDatasetGroup () const
 Returns index of the active vector dataset group. More...
 
void setLayer (QgsMeshLayer *layer)
 Associates mesh layer with the widget. More...
 
void syncToLayer ()
 Synchronizes widgets state with associated mesh layer. More...
 

Detailed Description

Widget for selection of active dataset group from tree view.

Also selects the active scalar and vector dataset by slider

User can choose different scalar and vector dataset. Time slider is deactivated when no dataset is selected or when all selected datasets are non-temporal.

Definition at line 41 of file qgsmeshrendereractivedatasetwidget.h.

Constructor & Destructor Documentation

◆ QgsMeshRendererActiveDatasetWidget()

QgsMeshRendererActiveDatasetWidget::QgsMeshRendererActiveDatasetWidget ( QWidget *  parent = nullptr)

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

Parameters
parentParent object

Definition at line 27 of file qgsmeshrendereractivedatasetwidget.cpp.

◆ ~QgsMeshRendererActiveDatasetWidget()

QgsMeshRendererActiveDatasetWidget::~QgsMeshRendererActiveDatasetWidget ( )
overridedefault

Member Function Documentation

◆ activeScalarDatasetGroup()

int QgsMeshRendererActiveDatasetWidget::activeScalarDatasetGroup ( ) const

Returns index of the active scalar dataset group.

Definition at line 60 of file qgsmeshrendereractivedatasetwidget.cpp.

◆ activeScalarGroupChanged

void QgsMeshRendererActiveDatasetWidget::activeScalarGroupChanged ( int  groupIndex)
signal

Emitted when the current scalar group gets changed.

◆ activeVectorDatasetGroup()

int QgsMeshRendererActiveDatasetWidget::activeVectorDatasetGroup ( ) const

Returns index of the active vector dataset group.

Definition at line 65 of file qgsmeshrendereractivedatasetwidget.cpp.

◆ activeVectorGroupChanged

void QgsMeshRendererActiveDatasetWidget::activeVectorGroupChanged ( int  groupIndex)
signal

Emitted when the current vector group gets changed.

◆ setLayer()

void QgsMeshRendererActiveDatasetWidget::setLayer ( QgsMeshLayer layer)

Associates mesh layer with the widget.

Definition at line 41 of file qgsmeshrendereractivedatasetwidget.cpp.

◆ syncToLayer()

void QgsMeshRendererActiveDatasetWidget::syncToLayer ( )

Synchronizes widgets state with associated mesh layer.

Definition at line 214 of file qgsmeshrendereractivedatasetwidget.cpp.

◆ widgetChanged

void QgsMeshRendererActiveDatasetWidget::widgetChanged ( )
signal

Emitted when any settings related to rendering changed.


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