Here are 2 pics from my app.I have a QTreeView in my app.When user press a button,another widget comes in and the treeview will slide from the center to the right(just like the 2nd pic.).

The problem is the animation is kinda slow(when I have as much items as the picture shows).
If I have only a few items in my treeview(4 or 5...),the animation is smooth.
I guess it's because treeview is updating all the items when it animates.But I don't know how to make it faster.Anybody knows?