Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTableView QListview setselectionModel()
For innterview in qt-demo, QTableView, QTreeView and QListView share the same model. So that if I set setSelectionModel() correctly, then when I select (0,0) cell in tablevew, then 0th item in list is selected. But when I select (0,1) cell in table, no item in list is selected because all items in listview have the column number 0. I did manually by connecting selectionchanged signal in tableview to the slot on listview to select (row_corresponding, 0). It works but it is quite slow for more than 10000 rows.
Is there any option to make it possible so that when I select (0,1) cell in tableview, (0,0) cell in listview is selected automatically?
Are you using single element selection or would row selection be valid ?
I am using single cell selection as selectionbehavior. If I change the selection behavior to select whole row, then it will solve the problem. But in my code I created parts assuming single cell selection.
Are you doing any editing with that QListView ?
I do not edit on items on Listview. It simply displays Icons.
Out of curiosity, why do you need all these view separately ?