In my opinion, it's better to use view + model than widget, because you have all the benefits from Model/View architecture, mainly data and it's presentation are clearly divided - so your solution is now ok. But sometimes, when you have to show some simple data temporary in only one place and in one way or something like thatthen the problem is not worth of doing model for it and much faster way is to use widget like QTreeWidget.
Bookmarks