Re: [PyKDE] QTreeWidget Automatically scrolls to top?

2007-02-07 Thread Matt Chambers
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

Re: [PyKDE] QTableWidget.clearContents diferent behavior in win and Linux

2007-02-07 Thread Andreas Pakulat
On 07.02.07 10:39:52, Kerri Reno wrote: > Just a guess, I'm new to QT, but I think if you do a > QtCore.QCoreApplication.processEvents() immediately after you clearContents > it > will work the same as on windows. That function is evil, you shouldn't need to use it unless you have very weird ne

Re: [PyKDE] QTableWidget.clearContents diferent behavior in win and Linux

2007-02-07 Thread Kerri Reno
Paulino, Just a guess, I'm new to QT, but I think if you do a QtCore.QCoreApplication.processEvents() immediately after you clearContents it will work the same as on windows. Kerri Yuma Educational Computer Consortium Compass Development Team Kerri Reno [EMAIL PROTECTED] (928) 502-4240

[PyKDE] QTableWidget.clearContents diferent behavior in win and Linux

2007-02-07 Thread Paulino
the function clearContents behaves diferently in windows and in linux: In windows it works as I expected, the QTableWidget is refreshed imediatly, but in Linux the widget is only refreshed when it get the focus again, not imediatly when the button is clicked. A final user will think that the b

[PyKDE] QTableWidget cellClicked(int, int) SIGNAL not working

2007-02-07 Thread Paulino
well it works with the cellPressed signal instead of cellClicked... Paulino Message: 3 Date: Wed, 07 Feb 2007 01:33:55 + From: Paulino <[EMAIL PROTECTED]> Subject: [PyKDE] QTableWidget cellClicked(int, int) SIGNAL not working To: pykde@mats.imk.fraunhofer.de Message-ID: <[EMAIL PROTECTED]>

Re: [PyKDE] QTreeWidget Automatically scrolls to top?

2007-02-07 Thread Phil Thompson
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