QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
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 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: