Answers for "tableview qt get selected row"

C
0

qtableview get selected row

QModelIndexList indexList = yourTableView->selectionModel()->selectedIndexes();
int row;
foreach (QModelIndex index, indexList) {
    row = index.row();
    ....
}
Posted by: Guest on June-01-2020

Code answers related to "tableview qt get selected row"

Code answers related to "C"

Browse Popular Code Answers by Language