On Tue, 16 Jun 2009 23:13:20 -0400, [email protected] wrote: > Hi Group, > > I'm trying to set a tool tip for a QListWidget that changes depending on > which item in the QListWidget the user has the mouse cursor over. I tried > to connect the QListWidget's ItemEntered signal to a function that saves > (and prints for testing purposes) the row number of the item. Every time I > test it out and get it to print the row number that the cursor is over, it > prints out '-1'. Also it will print out '-1' however many times I move my > cursor from item to item. Can anyone tell me what seems to be wrong?
Why not just call setToolTip() on each QListWidgetItem? Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
