itbarr
5th November 2010, 13:33
Hi folks,
Sorry if this is a dumb question but I'm rather new to this all...
Is it possible to set the priority for QMouseEvents so that when the main loop dispatches they will always be handled ahead of other event types?
I see there is the following function:
void QCoreApplication::postEvent ( QObject * receiver, QEvent * event, int priority )
Where the priority of an event can be specified.
How does Qt post QMouseEvents it gets from the X.11 stack?
Regards,
Ivan
Sorry if this is a dumb question but I'm rather new to this all...
Is it possible to set the priority for QMouseEvents so that when the main loop dispatches they will always be handled ahead of other event types?
I see there is the following function:
void QCoreApplication::postEvent ( QObject * receiver, QEvent * event, int priority )
Where the priority of an event can be specified.
How does Qt post QMouseEvents it gets from the X.11 stack?
Regards,
Ivan