QGIS API Documentation 3.41.0-Master (57ec4277f5e)
|
A widget for setup of the scalar dataset renderer settings of a mesh layer. More...
#include <qgsmeshrendererscalarsettingswidget.h>
Signals | |
void | widgetChanged () |
Mesh rendering settings changed. | |
Public Member Functions | |
QgsMeshRendererScalarSettingsWidget (QWidget *parent=nullptr) | |
A widget to hold the renderer scalar settings for a mesh layer. | |
void | setActiveDatasetGroup (int groupIndex) |
Associates a dataset group with the widget (should be set before syncToLayer()) | |
void | setCanvas (QgsMapCanvas *canvas) |
Associates map canvas with the widget. | |
void | setLayer (QgsMeshLayer *layer) |
Associates mesh layer with the widget. | |
QgsMeshRendererScalarSettings | settings () const |
Returns scalar settings. | |
void | syncToLayer () |
Synchronizes widgets state with associated mesh layer. | |
A widget for setup of the scalar dataset renderer settings of a mesh layer.
The layer must be connected and an active dataset must be selected.
Definition at line 38 of file qgsmeshrendererscalarsettingswidget.h.
QgsMeshRendererScalarSettingsWidget::QgsMeshRendererScalarSettingsWidget | ( | QWidget * | parent = nullptr | ) |
A widget to hold the renderer scalar settings for a mesh layer.
parent | Parent object |
Definition at line 28 of file qgsmeshrendererscalarsettingswidget.cpp.
void QgsMeshRendererScalarSettingsWidget::setActiveDatasetGroup | ( | int | groupIndex | ) |
Associates a dataset group with the widget (should be set before syncToLayer())
Definition at line 93 of file qgsmeshrendererscalarsettingswidget.cpp.
void QgsMeshRendererScalarSettingsWidget::setCanvas | ( | QgsMapCanvas * | canvas | ) |
Associates map canvas with the widget.
Definition at line 268 of file qgsmeshrendererscalarsettingswidget.cpp.
void QgsMeshRendererScalarSettingsWidget::setLayer | ( | QgsMeshLayer * | layer | ) |
Associates mesh layer with the widget.
Definition at line 87 of file qgsmeshrendererscalarsettingswidget.cpp.
QgsMeshRendererScalarSettings QgsMeshRendererScalarSettingsWidget::settings | ( | ) | const |
Returns scalar settings.
Definition at line 99 of file qgsmeshrendererscalarsettingswidget.cpp.
void QgsMeshRendererScalarSettingsWidget::syncToLayer | ( | ) |
Synchronizes widgets state with associated mesh layer.
Definition at line 132 of file qgsmeshrendererscalarsettingswidget.cpp.
|
signal |
Mesh rendering settings changed.