please NEED helping hand in this topic
please NEED helping hand in this topic
If your using a Qt class to display the image then that class will mostly likely inherit QWidget and so will receive mouse movements and mouse buttons like all other widgets, so you can just subclass the object or implement an event listener on it. It really depends on what you want to do, maybe the ideal thing would be to create something like a ImageMap class that inherits from QImage for better encapsulation.
Bookmarks