QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
A widget for setup of the mesh frame settings of the mesh layer. More...
#include <qgsmeshrenderermeshsettingswidget.h>
Public Types | |
enum | MeshType { Native , Triangular , Edge } |
Signals | |
void | widgetChanged () |
Mesh rendering settings changed. More... | |
Public Member Functions | |
QgsMeshRendererMeshSettingsWidget (QWidget *parent=nullptr) | |
A widget to hold the renderer mesh settings for a mesh layer. More... | |
void | setLayer (QgsMeshLayer *layer, MeshType meshType) |
Associates mesh layer with the widget. More... | |
QgsMeshRendererMeshSettings | settings () const |
Returns the mesh rendering settings (native or triangular or edge) More... | |
void | syncToLayer () |
Synchronizes widgets state with associated mesh layer. More... | |
A widget for setup of the mesh frame settings of the mesh layer.
Can be used for native, triangular and edge mesh renderer settings.
Definition at line 37 of file qgsmeshrenderermeshsettingswidget.h.
Enumerator | |
---|---|
Native | |
Triangular | |
Edge |
Definition at line 43 of file qgsmeshrenderermeshsettingswidget.h.
QgsMeshRendererMeshSettingsWidget::QgsMeshRendererMeshSettingsWidget | ( | QWidget * | parent = nullptr | ) |
A widget to hold the renderer mesh settings for a mesh layer.
parent | Parent object |
Definition at line 29 of file qgsmeshrenderermeshsettingswidget.cpp.
void QgsMeshRendererMeshSettingsWidget::setLayer | ( | QgsMeshLayer * | layer, |
MeshType | meshType | ||
) |
Associates mesh layer with the widget.
layer | mesh layer that contains mesh frame |
meshType | whether use settings for triangular mesh or native mesh or edge mesh |
Definition at line 49 of file qgsmeshrenderermeshsettingswidget.cpp.
QgsMeshRendererMeshSettings QgsMeshRendererMeshSettingsWidget::settings | ( | ) | const |
Returns the mesh rendering settings (native or triangular or edge)
Definition at line 55 of file qgsmeshrenderermeshsettingswidget.cpp.
void QgsMeshRendererMeshSettingsWidget::syncToLayer | ( | ) |
Synchronizes widgets state with associated mesh layer.
Definition at line 64 of file qgsmeshrenderermeshsettingswidget.cpp.
|
signal |
Mesh rendering settings changed.