15#ifndef QGSMESHSTATICDATASETWIDGET_H
16#define QGSMESHSTATICDATASETWIDGET_H
18#include <QAbstractListModel>
21#include "ui_qgsmeshstaticdatasetwidgetbase.h"
48 int rowCount(
const QModelIndex &parent )
const override;
49 QVariant
data(
const QModelIndex &index,
int role )
const override;
53 int mDatasetGroup = -1;
80 void setScalarDatasetGroup(
int index );
82 void setVectorDatasetGroup(
int index );
85 void setScalarDatasetIndex(
int index );
86 void setVectorDatasetIndex(
int index );
88 int mScalarDatasetGroup = -1;
89 int mVectorDatasetGroup = -1;
Base class for providing data for QgsMeshLayer.
List model for dataset contained in dataset group, used to display by time dataset in widget.
void setDatasetGroup(int group)
Sets the dataset group.
void setMeshLayer(QgsMeshLayer *layer)
Sets the layer.
int rowCount(const QModelIndex &parent) const override
QVariant data(const QModelIndex &index, int role) const override
Represents a mesh layer supporting display of data on structured or unstructured meshes.