diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2015-11-26 19:27:10 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-02-23 10:42:23 +0000 |
commit | ea615b421b76668332a3029ad31fa725b5bb9e58 (patch) | |
tree | 16955e7352d780807ec1cf00661efed468599055 /examples/widgets/widgets | |
parent | 35fa30e65d26b9e4840cfa793ed8369b3475c1fd (diff) |
handle TabletMove events during stylus hover
The main reason for this is to get feedback about the stylus orientation
(angles and rotation) before the user presses it. For example an application
might provide an image of the brush which rotates along with the stylus. As
with mouse events, applications can distinguish hovering by the fact that no
buttons are pressed.
On the xcb platform we need to stop blocking the hover events, and in
QWidgetWindow we need to send the event to the widget being hovered, while
keeping the existing "grab" behavior: after pressing the stylus (or any button
on the stylus or on the tablet), keep sending the events to the same widget
until release.
Task-number: QTBUG-26116
Change-Id: Iaed8b3b94961290dbb29b5fd2ea892fed7221685
Reviewed-by: Dmitry Kazakov <dimula73@gmail.com>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'examples/widgets/widgets')
0 files changed, 0 insertions, 0 deletions