I have a class A with some data (primitive) and a string list. I collect some A objects into a list. I want to show this collection into a qtableview based on a custom qabstractitemmodel that represents my list. I want to show the A objects one for row: Every column has one of the primitive types of an A. Next I want to show the string list of an A under it's row like files' name under folders in the file system viewer. I don't want to create, like qt example, a treeitem class: first because I have strings not objects and second because I don't need a recursive objects to hold data
Aucun commentaire:
Enregistrer un commentaire