Hi,
I'm trying to create a front-end GUI for my application. It consist on some lists coded in C++ for me. It have list objects that have other lists, ...
Now I want to create a TreeView to show the data. I'm reading the Qt doc about MVC. I can see that I could create use a delegate to edit the data of the tree, but I don't know how to change my internal data.
Another question, the method "createEditor" of the delegate could create a widget specific to the data that have to edit? Imagine that I have a treeItem that is an int, other treeItem that is a float, other that is a QString. Could it be possible?
My internat data structure is changing by user interaction and I want to show the current state. There are items that will be deleted, others that will be created and inserted in it's properly position.
Thanks,
Bookmarks