I need to create a tree model with the following req's
- this tree model will have a flat table source (QAbstractTableModel)
- hierarchy will be based on the sort columns
- at the end of the day a QTreeView and this model will behave exactly like the new Outlook 2010 Inbox list , when the user click sort by date a tree will be presented grouped by date
I am thinking is a job for a QSortFilterProxyModel and a CustomTreeModel that will goup things according to QSortFilterProxyModel::sortColumn and convert it into a tree in the QTreeView points of View.
Is there any other good suggestions out there?
baray98


Reply With Quote


Bookmarks