QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
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 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.