QGIS API Documentation 3.29.0-Master (ade4f0cf0f)
Public Member Functions | List of all members
QgsMeshDatasetListModel Class Reference

List model for dataset contained in dataset group, used to display by time dataset in widget. More...

#include <qgsmeshstaticdatasetwidget.h>

Inheritance diagram for QgsMeshDatasetListModel:
Inheritance graph
[legend]

Public Member Functions

 QgsMeshDatasetListModel (QObject *parent)
 Constructor. More...
 
QVariant data (const QModelIndex &index, int role) const override
 
int rowCount (const QModelIndex &parent) const override
 
void setDatasetGroup (int group)
 Sets the dataset group. More...
 
void setMeshLayer (QgsMeshLayer *layer)
 Sets the layer. More...
 

Detailed Description

List model for dataset contained in dataset group, used to display by time dataset in widget.

Definition at line 36 of file qgsmeshstaticdatasetwidget.h.

Constructor & Destructor Documentation

◆ QgsMeshDatasetListModel()

QgsMeshDatasetListModel::QgsMeshDatasetListModel ( QObject *  parent)

Constructor.

Definition at line 110 of file qgsmeshstaticdatasetwidget.cpp.

Member Function Documentation

◆ data()

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

Definition at line 137 of file qgsmeshstaticdatasetwidget.cpp.

◆ rowCount()

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

Definition at line 127 of file qgsmeshstaticdatasetwidget.cpp.

◆ setDatasetGroup()

void QgsMeshDatasetListModel::setDatasetGroup ( int  group)

Sets the dataset group.

Definition at line 120 of file qgsmeshstaticdatasetwidget.cpp.

◆ setMeshLayer()

void QgsMeshDatasetListModel::setMeshLayer ( QgsMeshLayer layer)

Sets the layer.

Definition at line 113 of file qgsmeshstaticdatasetwidget.cpp.


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