17#ifndef AEONGAMES_COMPONENTLISTMODEL_H
18#define AEONGAMES_COMPONENTLISTMODEL_H
42 int rowCount (
const QModelIndex & index = QModelIndex() )
const override;
47 QVariant
data (
const QModelIndex & index,
int role = Qt::DisplayRole )
const override;
53 QVariant
headerData (
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const override;
int rowCount(const QModelIndex &index=QModelIndex()) const override
Return the number of rows under the given parent.
ComponentListModel(QObject *parent=nullptr)
Construct the component list model.
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
Return the data for the given index and role.
virtual ~ComponentListModel()
Destructor.
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
Return the header data for the given section, orientation, and role.
ListModel(QObject *parent=nullptr)
Construct the list model.
<- This is here just for the literals