How to save PySide tree view model structure
Here is the link on other SO question QTreeView with custom items where is QTreeView example. Please, can anyone explain me at this example, how to save tree structure from treeview. Is the QAbstractItemModel class from which I can extract label names, and structure which I could load again? If so, how could I access to nodes? Any other way except index? EDIT (from the link) : import sys from PySide import QtGui, QtCore #------------------------------------------------------------------------------- # my test data class Icon(): def __init__(self, icon, tooltip): self.pixmap = QtGui.QPixmap