Quote Originally Posted by Xagen
But why, I don't understand?
Because QTreeWidget has its own predefined model that uses QTreeWidgetItems.

Quote Originally Posted by Xagen
And another question in advance - how to read the data from the xml file to the model?
http://www.qtcentre.org/forum/showthread.php?t=1297