Report question

Question: QTableView: how do I correctly create a QModelIndex?