#include <hydrographmodels.h>
◆ HydrographGroupListModel()
| HydrographGroupListModel::HydrographGroupListModel |
( |
SWMMModelLayer * |
layer | ) |
|
|
explicit |
◆ data()
| QVariant HydrographGroupListModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ flags()
| Qt::ItemFlags HydrographGroupListModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ headerData()
| QVariant HydrographGroupListModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ indexOf()
| int HydrographGroupListModel::indexOf |
( |
const QString & |
name | ) |
const |
Look up the row index of a group by name, or -1 if not present.
◆ nameAt()
| QString HydrographGroupListModel::nameAt |
( |
int |
row | ) |
const |
Read the group name at a given row, or empty if out of bounds.
◆ rowCount()
| int HydrographGroupListModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setData()
| bool HydrographGroupListModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: