Simple way to get all visible items in the QListView
问题 I am trying to develop an image gallery application using Qt Framework. The application loads all the images from the selected folder and those images are displayed using QListView control. But now i want to reduce the memory consumption by loading only the images that are visible to user. Since there is no direct function to get all the visible items in the view, i am not able to achieve this. 回答1: You can get the visible items of a list view using the indexAt function. For more details and