Dear List,
I'm a newbie of PyQt, i am learning it recently. QTableWidget's scrollToItem() method seems not work correctly on Mac OS X lion. (I guess) After i set the currentItem by setCurrentItem() method, then i invoke the scrollToItem(myCurrentItem(), 3) self.obj.setCurrentItem(self.obj.item(row, column)) self.obj.scrollToItem(self.obj.currentItem(), 3) # The second argument could be 0, 1, 2 or 3. It just highlight the current item of the row. (Which was the right action) But i also want it to scroll to the row if that row wasn't in the viewpoint. (For example, if i drag down the side slide bar to some other page and the current item of the row was not on my screen.) It is a bug or just i use the wrong method? Some one help me? Thanks in advance. Gui
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt