Rotating Image.
-
wrote on 27 Nov 2012, 14:22 last edited by
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. -
wrote on 27 Nov 2012, 14:45 last edited by
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
1/2