[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] detecting different events
From:       Mads <kofoden () yahoo ! com>
Date:       2009-07-28 11:55:52
Message-ID: 599375.55607.qm () web36808 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi list,

I hope someone can help me with my problem.

I have two QGraphicsItems that I want to connect together with a QGraphicsLineItem. I \
have created a mouseMoveEvent that starts the drawing of the line and a \
mouseReleaseEvent that creates the line with the endpoint. This works fine, but when \
I'm moving over a new Item I will like to detect that I'm hovering over the Item. My \
problem is that when I have the mouse pressed I can't evoke the hoverEnterEvent. So \
my question is how do I get the hoverEnterEvent to be called during my \
mouseMoveEvent?

Thanks,

Mads


      


[Attachment #5 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div style="font-family:times new roman,new \
york,times,serif;font-size:12pt">Hi list,<br><br>I hope someone can help me with my \
problem.<br><br>I have two QGraphicsItems that I want to connect together with a \
QGraphicsLineItem. I have created a mouseMoveEvent that starts the drawing of the \
line and a mouseReleaseEvent that creates the line with the endpoint. This works \
fine, but when I'm moving over a new Item I will like to detect that I'm hovering \
over the Item. My problem is that when I have the mouse pressed I can't evoke the \
hoverEnterEvent. So my question is how do I get the hoverEnterEvent to be called \
during my mouseMoveEvent?<br><br>Thanks,<br><br>Mads<br><br></div><br>

      </body></html>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic