Well, with the upcoming animation classes, (which I am still looking for help with)
You'd best make a small proxy class/API to handle the things that would transform its matrix. Ideally, you would expose these as properties for use with QPropertyAnimation. The proxy class holds all the component vlaues (x,y,z) rotations/scales, etc.then simply calls item->setTransform(QTransform().rotate(xRot, Qt::XAxis).rotate()....) after each property update. What I then do is PropertyProxy proxy(item); proxy->setXRotation(45); etc., and don't worry about modifying the item. ----- Original Message ---- From: Luca Fasano <lucafas...@interfree.it> To: pyqt@riverbankcomputing.com Sent: Monday, July 13, 2009 9:22:36 AM Subject: [PyQt] QMatrix transformations in QGraphicsView Hi all, is there any Qt Signal or event handler to handle QGraphicsView transformations which modify its QMatrix (for example scalings, rotations, ...)? Until now I overrided standard QGraphisView transformation methods (i.e. scale(), rotate(), ...) and emitted custom signals in these methods. But I don't think this is the better way to solve the problem. I'm using PyQt. Thanks _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt