::index does no get called in QAbstractModel
Unsolved
General and Desktop
-
I have a QAbstractModel and
myAbstractModel* m = new QAbstractModel ;
in that ::rowCount is 4
but the function QModelIndex myTableModel::index(
int xRow,
int xCol,
const QModelIndex & /xIndex/
) const
{What can be the reason why ::index is not getting called
-
Can you show the header file where you defined your model ?
-
-
-
Can u point me a basic example of how to create a QTableView with QAbstractModel
-