QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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.
 
QVariant data (const QModelIndex &index, int role) const override
 
int rowCount (const QModelIndex &parent) const override
 
void setDatasetGroup (int group)
 Sets the dataset group.
 
void setMeshLayer (QgsMeshLayer *layer)
 Sets the layer.
 

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 111 of file qgsmeshstaticdatasetwidget.cpp.

Member Function Documentation

◆ data()

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

Definition at line 138 of file qgsmeshstaticdatasetwidget.cpp.

◆ rowCount()

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

Definition at line 128 of file qgsmeshstaticdatasetwidget.cpp.

◆ setDatasetGroup()

void QgsMeshDatasetListModel::setDatasetGroup ( int  group)

Sets the dataset group.

Definition at line 121 of file qgsmeshstaticdatasetwidget.cpp.

◆ setMeshLayer()

void QgsMeshDatasetListModel::setMeshLayer ( QgsMeshLayer layer)

Sets the layer.

Definition at line 114 of file qgsmeshstaticdatasetwidget.cpp.


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