[Interest] QTableView and deselect entries
Petric Frank
pfrank at gmx.de
Wed May 21 10:07:42 CEST 2025
Hello,
using clearSelection the current selected item will be unselected. But
as stated in the doc for QAbstractItemView it will not invalidate the
current index.
The only method i found so far is QAbstractItemView::reset. This also
scolls the list to top.
Is there a way to reset the current index and the selection without
scrolling to top ?
Is there a signal sent when i use reset ?
kind regards
Petric
More information about the Interest
mailing list