Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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.