[Qt-interest] some problem with image rotation...
Keshava Krishna
keshavkrishna88 at gmail.com
Sat Feb 28 19:06:19 CET 2009
i was trying some image transformations using QMatrix and QImage..
void Rotate()
{
QMatrix m;
m.rotate( -90.0 );
*image=image->transformed(m);
imageLabel->setPixmap(QPixmap::fromImage(*image));
imageLabel->adjustSize();
}
the imageLabel is a QLabel object which is enclosed in a QscrollArea...
but the rotation is not happening...
when i tried the same code withou the scrollArea, it works...
can anyone resolve this???
Regards,
Keshava.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090228/3d7c2898/attachment.html
More information about the Qt-interest-old
mailing list