[Qt-interest] QLabel won't update the image during the mouseMoveEvent
hakiim warrick
hakiim35 at hotmail.com
Wed Jan 21 12:47:28 CET 2009
Hi, i am trying to implement an image processing application using Qt 4.4.3. I am particularly extending the ImageViewer application. I want the image to be updated each time a mouse move occurs, so i use the mouseMoveEvent(QMouseEvent* event) method. Inside the method, i have the following piece of code after the image is modified, but it didnt help:
imageLabel->setPixmap(QPixmap::fromImage(*(this->image)));
update();
imageLabel is of QLabel type, and image is a QImage* instance.
so, am i missing something..any suggestions?
_________________________________________________________________
Windows Live Messenger'ın için Ücretsiz 30 İfadeyi yükle
http://www.livemessenger-emoticons.com/funfamily/tr-tr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090121/60ab61e3/attachment.html
More information about the Qt-interest-old
mailing list