Store your data in a basic table model with a the hierarchy you want for your tree view. If the children you want to show in your list view are all of the same parent then you might consider using a single-columned tree view and QTreeView::setRootIndex(). If not, as would seem to be the case in your example, write a QAbstractItemProxyModel derivative to filter the underlying table to produce a single-columned list for your list view.
I think the browser example in the Qt distribution/demos contains an implmentation described here http://labs.trolltech.com/blogs/2008...-of-modelview/
Bookmarks