But why, I don't understand?
And another question in advance - how to read the data from the xml file to the model?
But why, I don't understand?
And another question in advance - how to read the data from the xml file to the model?
Because QTreeWidget has its own predefined model that uses QTreeWidgetItems.Originally Posted by Xagen
http://www.qtcentre.org/forum/showthread.php?t=1297Originally Posted by Xagen
Originally Posted by jacek
I understood this.
I was asking why to use model?
What are the pluses of using model?
You can share it between multiple views and it can implement an interface that is more useful for you than operating on QTreeWidgetItems.
Aha.
Thanks.
Bookmarks