Rotating Image.
-
Hi,
I have an image added in Qlabel in my UI application.
Now requirement has come to raotate it.
is it possible to rotate the image added in static Qlabel?
Please let me know if there is any way of doing this.
Thanks. -
You can use "QImage::transformed":http://qt-project.org/doc/qt-4.8/qimage.html#transformed-2 function with "QTransform::rotate":http://qt-project.org/doc/qt-4.8/qtransform.html#rotate as the first argument to rotate your QImage