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

Dan Milburn danmilburn at clara.co.uk
Fri Jul 31 15:23:38 CEST 2009


İsmail Dönmez wrote:
> Hi,
> 
> On Fri, Jul 31, 2009 at 12:03 PM, Oliver
> Demetz<forenbeitraege at oliverdemetz.de> wrote:
>> Well,
>> your right, as long as you are still in your paint event, no new event can
>> be taken into account.
>> But then the point to tune your app is your paint event, which has to become
>> faster. Think about which parts of your painting can be cached st. they dont
>> cost computation time in every event.
> 
> Isn't there a possible way to always get mouse events via  a thread or
> something?

Hi,

No, all GUI-related events are delivered via the main Qt event loop.
There is no way to achieve what you want with Qt as far as I know.

Dan



More information about the Qt-interest-old mailing list