Hello: I am trying to basically bookmark a spot in a tree view and then return to it later. For example, say I'm looking about 1/3 the way down a large tree, I want to set a bookmark so if I scroll way down to the bottom of the tree with the scrollbars, I can quickly go back to where I was. I see the scrollToItem method and the verticalOffset but I am having trouble with both. For scrollToItem, I'm not sure how to get the first visible item in the current view. And with verticalOffset, I'm not sure how to use the offset it returns to set the scrollbars back to where I bookmarked. Does anyone know how to accomplish either of these tasks? Or, is there a better way? Thanks!
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
