Qt widget suitable for displaying an image and getting mouse click position
I'm making a small app with Qt (3.1 iirc). So far I've been content to display an image using the QLabel widget, however, I've just remembered that I need to be able to click on the image, and return the location on the image where the mouse click occurred. I haven't seen an appropriate widget for this in the docs - can anyone suggest the best approach? Can I make a widget that inherits from a QLabel that has this functionality In which case, how would the functionality be added?