QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
A widget for setup of the vector dataset renderer settings of a mesh layer. More...
#include <qgsmeshrenderervectorsettingswidget.h>
Signals | |
void | widgetChanged () |
Mesh rendering settings changed. | |
Public Member Functions | |
QgsMeshRendererVectorSettingsWidget (QWidget *parent=nullptr) | |
A widget to hold the renderer Vector settings for a mesh layer. | |
void | setActiveDatasetGroup (int groupIndex) |
Associates a dataset group with the widget (should be set before syncToLayer()) | |
void | setLayer (QgsMeshLayer *layer) |
Associates mesh layer with the widget. | |
QgsMeshRendererVectorSettings | settings () const |
Returns vector settings. | |
void | syncToLayer () |
Synchronizes widgets state with associated mesh layer. | |
A widget for setup of the vector dataset renderer settings of a mesh layer.
The layer must be connected and an active dataset must be selected.
Definition at line 40 of file qgsmeshrenderervectorsettingswidget.h.
QgsMeshRendererVectorSettingsWidget::QgsMeshRendererVectorSettingsWidget | ( | QWidget * | parent = nullptr | ) |
A widget to hold the renderer Vector settings for a mesh layer.
parent | Parent object |
Definition at line 21 of file qgsmeshrenderervectorsettingswidget.cpp.
|
inline |
Associates a dataset group with the widget (should be set before syncToLayer())
Definition at line 56 of file qgsmeshrenderervectorsettingswidget.h.
void QgsMeshRendererVectorSettingsWidget::setLayer | ( | QgsMeshLayer * | layer | ) |
Associates mesh layer with the widget.
Definition at line 137 of file qgsmeshrenderervectorsettingswidget.cpp.
QgsMeshRendererVectorSettings QgsMeshRendererVectorSettingsWidget::settings | ( | ) | const |
Returns vector settings.
Definition at line 142 of file qgsmeshrenderervectorsettingswidget.cpp.
void QgsMeshRendererVectorSettingsWidget::syncToLayer | ( | ) |
Synchronizes widgets state with associated mesh layer.
Definition at line 224 of file qgsmeshrenderervectorsettingswidget.cpp.
|
signal |
Mesh rendering settings changed.