QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
#include <qgsmeshdatasetgrouptreeview.h>
Public Member Functions | |
QgsMeshDatasetGroupProxyModel (QAbstractItemModel *sourceModel) | |
int | activeScalarGroup () const |
Returns index of active group for contours. More... | |
int | activeVectorGroup () const |
Returns index of active group for vectors. More... | |
QVariant | data (const QModelIndex &index, int role) const override |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
void | setActiveScalarGroup (int group) |
Sets active group for contours. More... | |
void | setActiveVectorGroup (int group) |
Sets active vector group. More... | |
void | syncToLayer (QgsMeshLayer *layer) |
Add groups to the model from mesh layer. More... | |
Protected Member Functions | |
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
Definition at line 148 of file qgsmeshdatasetgrouptreeview.h.
QgsMeshDatasetGroupProxyModel::QgsMeshDatasetGroupProxyModel | ( | QAbstractItemModel * | sourceModel | ) |
Definition at line 243 of file qgsmeshdatasetgrouptreeview.cpp.
int QgsMeshDatasetGroupProxyModel::activeScalarGroup | ( | ) | const |
Returns index of active group for contours.
Definition at line 249 of file qgsmeshdatasetgrouptreeview.cpp.
int QgsMeshDatasetGroupProxyModel::activeVectorGroup | ( | ) | const |
Returns index of active group for vectors.
Definition at line 266 of file qgsmeshdatasetgrouptreeview.cpp.
|
override |
Definition at line 291 of file qgsmeshdatasetgrouptreeview.cpp.
|
overrideprotected |
Definition at line 326 of file qgsmeshdatasetgrouptreeview.cpp.
|
override |
Definition at line 283 of file qgsmeshdatasetgrouptreeview.cpp.
void QgsMeshDatasetGroupProxyModel::setActiveScalarGroup | ( | int | group | ) |
Sets active group for contours.
Definition at line 254 of file qgsmeshdatasetgrouptreeview.cpp.
void QgsMeshDatasetGroupProxyModel::setActiveVectorGroup | ( | int | group | ) |
Sets active vector group.
Definition at line 271 of file qgsmeshdatasetgrouptreeview.cpp.
void QgsMeshDatasetGroupProxyModel::syncToLayer | ( | QgsMeshLayer * | layer | ) |
Add groups to the model from mesh layer.
Definition at line 318 of file qgsmeshdatasetgrouptreeview.cpp.