Hello again.
I subclassed QLabel and got to the point where I assign the position of the mouse event to a QPoint. Now, I understand that I need to use this QPoint to get the QRgb value of whatever is underneath. Question, how do I do this?
Here you should use the pixmap() property of QLabel to get the QRgb at the position where the mouse was clicked inside the label.




Reply With Quote

Bookmarks