How to use QAbstractListModel with QTableView?
-
Hello all!
I have a class which inherits QAbstractListModel. On the other hand I have a QTableView to display the data, but when I set the model it shows the items vertically aligned, is it possible to set it as rows?
rows should have the 5 items width for example and how can I do it?
So I want ListModel to be used to represent the view as a tablethank you