[Qt-interest] Tracking mouse over label

Cole, Derek dcole at integrity-apps.com
Thu Jan 20 18:15:28 CET 2011


I have a label that I am using to display a QPixmap. I want to be able to track the mouse any time it is crossing over the QLabel to give me the XY coordinates of the image. I see that there is a mouseTracking checkbox in QtCreator that I checked, but how do I get the mouseover event on the label?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110120/6e656b0b/attachment.html 


More information about the Qt-interest-old mailing list