Hello experts,

Ive got this label with a pixmap on it which is scaled to fit. Now, I have subclassed this label to return the color of the pixel under the mouse cursor whenever I click on it. The problem is I dont get accurate pixel colors. However, I tried an image that is not scaled and it works perfectly.

Is there a way to get the correct position in scaled-to-fit mode? Thank you..