[Qt-interest] Handling mouse events in soft-realtime case

İsmail Dönmez ismail at namtrac.org
Fri Jul 31 09:52:32 CEST 2009


Hi all,

I have a simple widget which draw lines when user presses a mouse and
moves it, just a simple drawing application. Now, my problem is
drawing tooks up to 3ms which is not that bad imho but the mouse
events can arrive in under 600us which is less a ms.

The problem is if the mouse event happens when I am in paintEvent() I
am losing the event. I wonder if there is a way to overcome this so I
always receive mouse events even if I am busy drawing in paintEvent().

Any help/ideas appreciated.

Regards.

-- 
İsmail DÖNMEZ




More information about the Qt-interest-old mailing list