Hi!
Firt of all, sorry for my poor English. I'm new in QT.
I open an image in a QLabel: imageLabel->setPixmap(QPixmap::fromImage(image));
This works well, but then I would like to add a mouse event. When the mouse was cliked in the image returns the pixel (of the image) in coordenates (X,Y). ¿It's possible?
I read that the QLabel class could not get a mouseClicked. Do I have to use another class? ¿Do I have to use the class Graphics View?
I'm using the example code of QT 4.7.2 called "Imageviewer". I'm programming in Windows with Eclipse Helios Release 2 (CDT).
Thank you very very much!!!
Bookmarks