QGIS API Documentation  3.25.0-Master (dec16ba68b)
Public Member Functions | List of all members
QgsMeshDatasetGroupListModel Class Reference

#include <qgsmeshdatasetgrouptreeview.h>

Inheritance diagram for QgsMeshDatasetGroupListModel:
Inheritance graph
[legend]

Public Member Functions

 QgsMeshDatasetGroupListModel (QObject *parent)
 
QVariant data (const QModelIndex &index, int role) const override
 
int rowCount (const QModelIndex &parent) const override
 
void setDisplayProviderName (bool displayProviderName)
 
void syncToLayer (QgsMeshLayer *layer)
 Add groups to the model from mesh layer. More...
 
QStringList variableNames () const
 

Detailed Description

Definition at line 302 of file qgsmeshdatasetgrouptreeview.h.

Constructor & Destructor Documentation

◆ QgsMeshDatasetGroupListModel()

QgsMeshDatasetGroupListModel::QgsMeshDatasetGroupListModel ( QObject *  parent)
explicit

Definition at line 497 of file qgsmeshdatasetgrouptreeview.cpp.

Member Function Documentation

◆ data()

QVariant QgsMeshDatasetGroupListModel::data ( const QModelIndex &  index,
int  role 
) const
override

Definition at line 517 of file qgsmeshdatasetgrouptreeview.cpp.

◆ rowCount()

int QgsMeshDatasetGroupListModel::rowCount ( const QModelIndex &  parent) const
override

Definition at line 508 of file qgsmeshdatasetgrouptreeview.cpp.

◆ setDisplayProviderName()

void QgsMeshDatasetGroupListModel::setDisplayProviderName ( bool  displayProviderName)

Definition at line 550 of file qgsmeshdatasetgrouptreeview.cpp.

◆ syncToLayer()

void QgsMeshDatasetGroupListModel::syncToLayer ( QgsMeshLayer layer)

Add groups to the model from mesh layer.

Definition at line 500 of file qgsmeshdatasetgrouptreeview.cpp.

◆ variableNames()

QStringList QgsMeshDatasetGroupListModel::variableNames ( ) const

Definition at line 555 of file qgsmeshdatasetgrouptreeview.cpp.


The documentation for this class was generated from the following files: