QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Tree widget for display of the mesh dataset groups. More...
#include <qgsmeshdatasetgrouptreeview.h>
Public Slots | |
void | setActiveScalarGroup (int group) |
Sets active group for contours. | |
void | setActiveVectorGroup (int group) |
Sets active vector group. | |
Signals | |
void | activeScalarGroupChanged (int groupIndex) |
Selected dataset group for contours changed. -1 for invalid group. | |
void | activeVectorGroupChanged (int groupIndex) |
Selected dataset group for vectors changed. -1 for invalid group. | |
Public Member Functions | |
QgsMeshActiveDatasetGroupTreeView (QWidget *parent=nullptr) | |
int | activeScalarGroup () const |
Returns index of active group for contours. | |
int | activeVectorGroup () const |
Returns index of active group for vectors. | |
void | mousePressEvent (QMouseEvent *event) override |
void | setLayer (QgsMeshLayer *layer) |
Associates mesh layer with the widget. | |
void | syncToLayer () |
Synchronize widgets state with associated mesh layer. | |
Tree widget for display of the mesh dataset groups.
One dataset group is selected (active)
Definition at line 257 of file qgsmeshdatasetgrouptreeview.h.
QgsMeshActiveDatasetGroupTreeView::QgsMeshActiveDatasetGroupTreeView | ( | QWidget * | parent = nullptr | ) |
Definition at line 386 of file qgsmeshdatasetgrouptreeview.cpp.
int QgsMeshActiveDatasetGroupTreeView::activeScalarGroup | ( | ) | const |
Returns index of active group for contours.
Definition at line 403 of file qgsmeshdatasetgrouptreeview.cpp.
|
signal |
Selected dataset group for contours changed. -1 for invalid group.
int QgsMeshActiveDatasetGroupTreeView::activeVectorGroup | ( | ) | const |
Returns index of active group for vectors.
Definition at line 418 of file qgsmeshdatasetgrouptreeview.cpp.
|
signal |
Selected dataset group for vectors changed. -1 for invalid group.
|
override |
Definition at line 439 of file qgsmeshdatasetgrouptreeview.cpp.
|
slot |
Sets active group for contours.
Definition at line 408 of file qgsmeshdatasetgrouptreeview.cpp.
|
slot |
Sets active vector group.
Definition at line 423 of file qgsmeshdatasetgrouptreeview.cpp.
void QgsMeshActiveDatasetGroupTreeView::setLayer | ( | QgsMeshLayer * | layer | ) |
Associates mesh layer with the widget.
Definition at line 395 of file qgsmeshdatasetgrouptreeview.cpp.
void QgsMeshActiveDatasetGroupTreeView::syncToLayer | ( | ) |
Synchronize widgets state with associated mesh layer.
Definition at line 433 of file qgsmeshdatasetgrouptreeview.cpp.