Unsolved Is there any way to rotate coordinate system respect y.
Hi, im new using qt and i kno that i can rotate the coordinate system with gracphicview->rorate() but this rotate respect x only so the x axis will always be on the top.
i can explain better what i need attaching this images:
this is the default system, but if i rotate it wiht the function rotate it rotates clockwise online and what i need is this :
No rotating 270° cause that makes that the x axis is on the top and y above.
Thanks in advice.
QTransform is likely what you want to use in order to do that.
Hope it helps
Hi, thanks for the quick response.
Im checking and doint this:
but there is no change on the visualization.
What about applying it on the item directly ?
No, the same nothing happend and also the thing is to do it to the whole scene cause i add to many items to do it individually.
I just realized: you’re doing it wrong. Get the current transform, modify it and then set that new version of the transform.
What you are doing is modify a copy of the transform object used by the scene. So it won’t have any influence.