Guest User

Untitled

a guest
Dec 14th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. QTransform trans;
  2. trans.translate(boundingRect().width()/2,boundingRect().height()/2);
  3. trans.rotate(value, Qt::XAxis);
  4. trans.translate(-boundingRect().width()/2,-boundingRect().height()/2);
  5. setTransform(trans);
Add Comment
Please, Sign In to add comment