Dear List,<br><br><br>I'm a newbie of PyQt, i am learning it recently.<br><br>QTableWidget's scrollToItem() method seems not work correctly on Mac OS X lion. (I guess)<br>After i set the currentItem by setCurrentItem() method, then i invoke the scrollToItem(myCurrentItem(), 3)<br>
<br>self.obj.setCurrentItem(self.obj.item(row, column))<br>self.obj.scrollToItem(self.obj.currentItem(), 3) # The second argument could be 0, 1, 2 or 3.<br><br>It just highlight the current item of the row. (Which was the right action)<br>
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.)<br><br>It is a bug or just i use the wrong method?<br>
Some one help me? <br><br>Thanks in advance.<br><br><br clear="all">Gui<br>