Scrolling QListView to keep items in view while inserting at start of list.
I have a QListView with a model that I am inserting data into. I'm inserting data at the start of the list which causes all the items in the view to scroll down.
What would be the best way to scroll the view automatically to keep the view fixed (i.e the view should move
with the visible items as new items are inserted in the model)?
Hi and welcome to devnet,
I would use scrollTo for that
Hope it helps