How can i filter rotation of an item(rotate the item and not the text inside)?
-
Hello,
i want rotate the item but not the text inside the item. Can i choose which elements to rotate with the function QGraphicsItem::setRotation()?Thanks
-
you can anti-rotate the text
-
thanks, but how?
-
Rotate it oppositely to the parent rotation perhaps?
You can also look at the flags that you can set using QGraphicsItem::setFlags. You might be especially interested in experimenting with the QGraphicsItem::ItemIgnoresTransformations flag.