How to programmatically select multiple rows in QListView?
Unsolved
General and Desktop
-
Use the correct QListView method to get the container of items in the list, iterate through it, and set the "checked/selected" attribute for each item that matches your selection cirteria.
-
You should take a look at QItemSelectionModel::select()
-
You should take a look at QItemSelectionModel::select()
@Christian-Ehrlicher
Ok thanks! I got it to work.