46 const QMap< int, QVariant > &data = QMap< int, QVariant >(), Qt::ItemFlags flags = Qt::NoItemFlags );
57 const QList< QMap< int, QVariant > > &columnData,
58 Qt::ItemFlags flags = Qt::NoItemFlags );
60 QVariant data(
const QModelIndex &index,
int role )
const override;
61 Qt::ItemFlags flags(
const QModelIndex &index )
const override;
62 QModelIndex index(
int row,
int column,
63 const QModelIndex &parent = QModelIndex() )
const override;
64 QModelIndex parent(
const QModelIndex &index )
const override;
65 int rowCount(
const QModelIndex &parent = QModelIndex() )
const override;
66 int columnCount(
const QModelIndex &parent = QModelIndex() )
const override;
71 QMap< int, QVariant > mData;
72 QList< QMap< int, QVariant > > mColumnData;
73 Qt::ItemFlags mFlags = Qt::NoItemFlags;