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

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to