Hi all,
I have a custom model derived from QAbstractTableModel and I use several views to display the data.
For sake of simplicity let's assume that the table has an int and a string where the int ranges from 1 to 4.
Then, I need 4 views and each view shall only show the rows with the corresponding int, that is, view1 shows all rows containing the int 1, etc.
I assume that this can be done with different roles.
How can I tell the view to show only a subset of the whole data in the model?
Thanks in advance.
Rainer
Bookmarks