QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
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. | |
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 28 of file qgsmeshrendereractivedatasetwidget.cpp.
|
overridedefault |
int QgsMeshRendererActiveDatasetWidget::activeScalarDatasetGroup | ( | ) | const |
Returns index of the active scalar dataset group.
Definition at line 61 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 66 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 42 of file qgsmeshrendereractivedatasetwidget.cpp.
void QgsMeshRendererActiveDatasetWidget::syncToLayer | ( | ) |
Synchronizes widgets state with associated mesh layer.
Definition at line 215 of file qgsmeshrendereractivedatasetwidget.cpp.
|
signal |
Emitted when any settings related to rendering changed.