I am drawing an image in my QMainWindow and I need to get the position of the mouse when it's clicked, so that I can tell where on the image the user clicked. Is there an easy way to do this?

Thanks a lot for your help