Hi guys,
i have a problem. I use a QTreeView and with a subclass of QAbstractItemModel.
It works.
A
..B
..C
....D
For filter reasons I change the root index via setRootIndex.
It works, but after setting the root index, the rootIndex is not shown. (rootIsDecorated is true.)
C
....D
Furthermore I'm not able to unset the filter, because my A node never gets back.
Qt Code:
setRootIndex(A); // A is model.index(0,0);To copy to clipboard, switch view to plain text mode
What can I do?
thanks
Bookmarks