QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Widget for selection of active dataset group from tree view. More...
#include <qgsmeshrendereractivedatasetwidget.h>
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... | |
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.
QgsMeshRendererActiveDatasetWidget::QgsMeshRendererActiveDatasetWidget | ( | QWidget * | parent = nullptr | ) |
A widget to hold the renderer scalar settings for a mesh layer.
parent | Parent object |
Definition at line 27 of file qgsmeshrendereractivedatasetwidget.cpp.
|
overridedefault |
int QgsMeshRendererActiveDatasetWidget::activeScalarDatasetGroup | ( | ) | const |
Returns index of the active scalar dataset group.
Definition at line 60 of file qgsmeshrendereractivedatasetwidget.cpp.
|
signal |
Emitted when the current scalar group gets changed.
int QgsMeshRendererActiveDatasetWidget::activeVectorDatasetGroup | ( | ) | const |
Returns index of the active vector dataset group.
Definition at line 65 of file qgsmeshrendereractivedatasetwidget.cpp.
|
signal |
Emitted when the current vector group gets changed.
void QgsMeshRendererActiveDatasetWidget::setLayer | ( | QgsMeshLayer * | layer | ) |
Associates mesh layer with the widget.
Definition at line 41 of file qgsmeshrendereractivedatasetwidget.cpp.
void QgsMeshRendererActiveDatasetWidget::syncToLayer | ( | ) |
Synchronizes widgets state with associated mesh layer.
Definition at line 214 of file qgsmeshrendereractivedatasetwidget.cpp.
|
signal |
Emitted when any settings related to rendering changed.