On Wed Dec 3 15:02:07 GMT 2008, Grissiom wrote: > And here comes the questions: > I think that creating a QtCore.QRect and moving it every time repaint the > widget is not so good. So I move the code to __init__ and make cannonRect a > local variable rather than a function. But the cannon doesn't move i.e, the > widget doen't get repainted correctly. Any hint there?
Can you post a code snippet to demonstrate what you have done? It always helps to be able to see the code in context. David _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
