Q:

qtableview get selected row

QModelIndexList indexList = yourTableView->selectionModel()->selectedIndexes();
int row;
foreach (QModelIndex index, indexList) {
    row = index.row();
    ....
}
0

Tags

New to Communities?

Join the community