Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, March 2007
mouse out of the widget.


Message 1 in thread

Any word on an event to detect when the mouse goes out of a focussed widget 
?

Thanks.

Mr Arnaud. 

--
 [ signature omitted ] 

Message 2 in thread

bunjeee wrote:
> Any word on an event to detect when the mouse goes out of a focussed 
> widget ?

QWidget::leaveEvent(QLeaveEvent *)

> 
> Thanks.
> 
> Mr Arnaud.
> -- 
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 
> 


-- 
 [ signature omitted ] 

Message 3 in thread

Merci "mon" frère,

I've found the QWidget::leaveEvent(QEvent * event) which fits perfectly to 
my needs.

Thanks,
Mr Arnaud.
----- Original Message ----- 
From: "lefrere" <veronique.lefrere@xxxxxx>
To: "bunjeee" <bunjeee@xxxxxxx>
Sent: Wednesday, March 14, 2007 4:46 PM
Subject: Re: mouse out of the widget.


bonjour,

je n'ai pas eu à le faire mais je tenterai d'utiliser le
setmousetracking du widget et regarder dans le mousemoveevent la
position du la souris pour détecter la sortie du widget. quand on
détecte la sortie et/ ou le focusoutevent rebasculer le setmousetracking
à false et le basculer à true dans le focusinevent du widget en question.

Le 14/3/2007, "bunjeee" <bunjeee@xxxxxxx> a écrit:

>Any word on an event to detect when the mouse goes out of a focussed widget
>?
>
>Thanks.
>
>Mr Arnaud.
>
>--
>To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
>"unsubscribe" in the subject or the body.
>List archive and information: http://lists.trolltech.com/qt-interest/
>

--
 [ signature omitted ]