Z
Z
zheleznyak_oleg2012-06-03 18:21:28
Programming
zheleznyak_oleg, 2012-06-03 18:21:28

How to rotate QGraphicsItem?

Can you please tell me how to rotate QGraphicsItem? In general, there is a rotate() method, but it adds an angle to the current rotation angle. And I would just turn right or left

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Akulovich, 2012-06-04
@AterCattus

>>qreal QGraphicsItem::rotation () const
>>Returns the clockwise rotation, in degrees, around the Z axis. The default value is 0 (ie, the item is not rotated).
doesn't fit?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question