How to pick the pixel color of bmp file using a mouse cursor's position?
-
Hi...
Is there any function in Qt to pick up the pixel color of our mouse cross cursor position? The image is from bmp file that was called by Qt.
Thank you for any suggestion. -
Heya
If I were you I would use qt event system. Basically, you need to use event filter in parent widget or reimplement pixmap. Then, when you have relative x and y of click it's not an issue to find QColor on it's pixel