There's several possibilities. You can work with the table model and implement a sort model that has the behavior you want (keeping the original table model the way it is), or you reimplement the source model. In both cases, have a look at the Editable Tree Model example. If you want to use the sort/proxy model approach, have a look at the KDE libraries. KDE is Qt based and they have some developers that are quite good at creating sort/filter proxy models.
Bookmarks