[PyKDE] QTreeWidget Automatically scrolls to top?
Matt Chambers
chambers at imageworks.com
Wed Feb 7 22:44:50 GMT 2007
Sorry, I meant QTreeWidget as well. I'm using Qt 4.2 and PyQt4.1.1. I
was using Qt 4.1 and PyQt 4.0.1. I checked around in the QT 4.2 change
logs, I could find anything but you never know. Was just wondering if
anyone else noticed this.
-Matt
Phil Thompson wrote:
> On Wednesday 07 February 2007 1:55 am, Matt Chambers wrote:
>
>> 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.
>>
>
> You need to say what version of Qt you are using as that is the most likely
> cause of any change in behaviour. Going back to an earlier version of PyQt
> built against the same version of Qt is unlikely to make any difference.
>
> Phil
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070207/a36494f8/attachment.html
More information about the PyQt
mailing list