Konrad wrote: In a game the user should be able to rotate a GraphicsItem by clicking on it with the right mouse button. According the game situation he must be able to execute another rotation by the same angle (90°). But this time the item is not rotated!
Philippe Crave answered: seems that setRotation() sets an absolute value, not an increment. if you want to add 90°, you should do something like self.setRotation(self.rotation()+90) Konrad writes: This is the solution. Many thanks to Philippe for his answer!
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
