13#ifndef ABSTRACTTABLEMODEL_H
14#define ABSTRACTTABLEMODEL_H
15#include "abstractitemmodel.h"
46 virtual int columnCount(
const QModelIndex &parent)
const override;
48 virtual QVariant
data(
const QModelIndex &index,
int role)
const override;
Extended QAbstractItemModel providing EntityMetadata-based item lookup and header management.
AbstractItemModel specialization for tabular (row/column) models.
virtual QVariant data(const QModelIndex &index, int role) const override
Return the data for the given index and role.
AbstractTableModel(const QString &loggingCategory, QObject *parent=nullptr)
Construct with a logging category and optional parent.
AbstractTableModel(QObject *parent=nullptr)
Construct with an optional parent.
void deleteRowAtIndex(const QModelIndex &index)
Remove the row at the given index from the model.
virtual int columnCount(const QModelIndex &parent) const override
Return the number of columns (based on registered column headers).
virtual void columnChangedAtRowIndex(const QModelIndex &rowIndex, int columnHeader)
Called when a specific column cell at rowIndex has changed.