Angus Leeming wrote:

>> In order for any fix to go in, I'd need to know the Qt equivalent of
>> XEvent::xmotion.[x,y].
> 
> Well, I had a go. See below. Unfortunately, it doesn't work as I'd
> like. Qt emits a mouseMoveEvent signal only when --- you've guessed
> it --- the mouse is moved. No signal is emitted when the mouse is
> just pressed but otherwise doing nothing. This differs from xforms
> that emits event calls when this happens (using a timer to
> artificially generate events).
> 
> So, shold we do what xforms does and start a timer on a mouse press
> event so that we can generate 'pseudo' mouse events every 'interval'
> msecs?

I think so. (It seems the only reasonable way to implement the desired
behaviour)

Alfredo


Reply via email to