QAbstractItemModel is flexible enough to build such a tree, since it permits each column in a row to have multiple children (rows). However, there is no standard Qt class derived from QAbstractItemView that can display such a structure. QTreeView supports only trees where the first column in a row has children.
An alternative to this would be to design your UI in such as way as to split it into top level and detail views, where, for example, the top level view is a tree view that shows only the MainList items as children for each tree row. Clicking on a MainList item loads the sublists into a table view, where each part of the sublist is column in a row in the table.
If you really need the UI to look like your mockup, then you have to write it yourself.
Bookmarks