[PyKDE] QTreeWidget Automatically scrolls to top?

Matt Chambers chambers at imageworks.com
Wed Feb 7 01:55:38 GMT 2007


Using PyQt4.1.1

When I remove an item from a QTableWidget, it automatically resets the 
scrollbar to the top.

def removeItem(self,item)
    self.takeTopLevelItem(self.indexOfTopLevelItem(item))

It works properly with PyQt 4.0.1.  Looked around for properties that 
would affect this, couldn't find anything.

Matt






More information about the PyQt mailing list