[Interest] QTableView and deselect entries
Petric Frank
pfrank at gmx.de
Wed May 21 10:43:40 CEST 2025
Sorry - this mail was meant to all not specifically to Axel Spoerl.
Am 21.05.25 um 10:07 wrote Petric Frank via Interest:
> 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