Hi, I've been using QTreeView for my "ininitely" long custom tree model. Everything is OK except that canFetchMore() is called repeatedly even if I won't even move the scrollbar. Am trying to implement a pagination which helps me to keep a constant number of items using canFetchMore() approach.
Also I have a custom QTreeView ItemDelegate which paints a content of the QTreeView. The delegate has overriden sizeHint() method. Otherwise we are talking about an ordinary Model->View case.
Can I find out somehow why the canFetchMore()/fetchMore() method is called and where does it come from??
Thanks, David
[PyQt4, Python 3.4]
Bookmarks