It seems to me a QTransform should be able to know its rotation, as well as being able to set it to a fixed value. Then the object itself knows its status rather than relaying on an object upper in the hierarchy, like QMainWindow or having to create a wrapping widget to store that value. It feels to me that storing the value separately is error prone, specially because you can't set the rotation, but you have to rotate relative to that one value you stored. But, sure, if you're careful and deal with the visibility of it, it's ok as a
Bookmarks