Hi !!!! ,

I am implementing a simulator in Qt of objects moving on a table.
Hence it is required that I should also have an option to rotate the object while translating it.
Both can be done exclusively but how can we achieve it together.
I created a Graphics item and set its flag ItemIsMovable true and then in the keypressevent
if I get an 'r' pressed while the left button is pressed then I should rotate the object .
But this doesnt seem to work.
My object gets created always from the original position and since I use a static variable to store whether the mouse key is pressed or not, I can do this if I have only one item or I should create a array of the no of objects I should add.

Any help is greatly appreciated in the project!!
Thanks in advance.