Then maybe you could help me with some ideas.
I also have a big QTreeView and its model gets the display data from an sqlite database. So when the tree is drawed 2 queries are executed per row to get the data. This gives the view an annoying delay (for scrolling, expanding a branch etc.). Also when I have the database in the memory. If I use any styling on it that doubles the delay.
Didn't you have this problem? Should I initialize the model by reading everything from the database and building a hierarchical structure to the memory? Any other idea to improve performance?
Bookmarks