[Qt-interest] setMouseTracking

Nikos Chantziaras realnc at arcor.de
Fri Jan 7 21:46:47 CET 2011


On 01/07/2011 04:36 PM, "Alexander Carôt" wrote:
>>>> Sorry, next idea .. .-)
>> Query QCursor::pos() on a timer?
>
> Just tried it and it couldn't be simpler than that ;-)
> What you propose exactly does what I need !
>
> So, basically no need to use the mouseHandlers and setMouseTracking options etc..
>
> Right on and thanks a lot to everyone (and esp. Bill for the final idea)

Of course you should know that this makes your application run code all 
the time, waking up the CPU even when idle.  Users are known to throw 
darts at pictures of the developer for stuff like this :-)



More information about the Qt-interest-old mailing list