summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtabletevent/event_compression
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2010Jason McDonald2010-01-063-3/+3
| | | | Reviewed-by: Trust Me
* Fixed all but one of the failures in the headers autotest.Martin Smith2009-09-091-4/+4
| | | | The resource compiler still generates files that don't have the LPGL header.
* Update license headers again.Jason McDonald2009-09-093-12/+12
| | | | Reviewed-by: Trust Me
* Update license headers.Jason McDonald2009-09-011-14/+14
| | | | Reviewed-by: Trust Me
* Disable event compression when the tablet events are acceptedBenjamin Poulain2009-08-314-0/+233
Since Qt 4.5, all tablet events are compressed not to overload the widgets with the corresponding mouse event (a mouse event is generated if the tablet event is not accepted). This behavior reduce the precision when drawing on a widget that use the tablet events. All tablet events should be sent to the widget that are accepting the tablet event. With this patch, the tablet event are filtered only if the widget ignore the first tablet event. The mouse events are compressed. There is two special cases for the filtering: First, if a tablet event is for another widget than the one ignoring the tablet, this event should not be filtered. Second, if there is a mouse press event, the mouse move event should be sent to the widget that received the mouse press event. Helped-by: Pierre Rossi Reviewed-by: Thomas Zander Reviewed-by: Bradley T. Hughes