Pergunta

I need working examples (c++) of show own data model in QtreeView.

Foi útil?

Solução

There's a pretty good QTreeView/QAbstractItemModel example here. It's fairly straightforward once you get used to QT's ultra-generic model... just don't expect it to be as simple or obvious as Java's TreeModel.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top