[PyQt] Using images and mouse events

Russell Valentine russ at coldstonelabs.org
Mon Mar 29 19:53:53 BST 2010


It isn't clear to me what you want, perhaps attach a minimum example and
a better description of what your wanting it to do.

You want the coords were the mouse is, maybe check event.x() and
event.y() in overloaded mouseMoveEvent?

On 03/29/10 13:37, Anshul Jain wrote:
> Please help me out.
> 
> On Mon, Mar 29, 2010 at 2:30 PM, Anshul Jain <aj.phoenixter at gmail.com>wrote:
> 
>> Lately, I have been trying to insert images into my widget window. I am now
>> able to do that.  But there's a problem i am facing:
>>
>> If I have an image on a widget window, then how can I find the image
>> coordinates with respect to my widget window?
>>
>> Please help me with this.
>>
>> Regards
>> Anshul
>>
> 
> regards
> Anshul
> 
> 
> 
> 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list