Have you called QAbstractItemView::setSelectionBehavior() with the argument QAbstractItemView::SelectRows?
QAbstractItemView::setCurrentIndex() will select the row at the "index" argument.
Have you called QAbstractItemView::setSelectionBehavior() with the argument QAbstractItemView::SelectRows?
QAbstractItemView::setCurrentIndex() will select the row at the "index" argument.
Bookmarks