How to cancel autoScroll in QTreeView?
-
Hi!
I have the QTreeView table. In this table alltimes add new items. My table autoscroll to new item. How to cancel it?
Only user must to scroll table.I used setAutoScroll( false ), but it doesn't work.
-
Just to recap your question
- You are adding the items to TreeView
- As the items are added, you don't want scrolling to be enabled. You want the scrolling to be invisible.
- When the user clicks, scrolling to visible. Is that correct ?
-
Yes, all right