sorry if this is suppossed to be obvious, but i only see examples on how to use the QTreeView with QDir. I would like to use the result of a DB-query. Could anyone please point me towards information what my data has to look like? i mean: do i need a column called parent and one called id or how does it work that the Tree knows how to use the data in the model?
Bookmarks