QGIS API Documentation 3.41.0-Master (57ec4277f5e)
Loading...
Searching...
No Matches
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.
 
void activeVectorGroupChanged (int groupIndex)
 Emitted when the current vector group gets changed.
 
void widgetChanged ()
 Emitted when any settings related to rendering changed.
 

Public Member Functions

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

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 28 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 55 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 60 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 40 of file qgsmeshrendereractivedatasetwidget.cpp.

◆ syncToLayer()

void QgsMeshRendererActiveDatasetWidget::syncToLayer ( )

Synchronizes widgets state with associated mesh layer.

Definition at line 207 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: