diff options
| author | J-P Nurmi <jpnurmi@digia.com> | 2013-08-05 13:34:33 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-08 15:09:40 +0200 |
| commit | 9dfe4b0e683d706400a2e929a8de97df64ca172e (patch) | |
| tree | bbcd8ce3e6a9ffdffeef0be9a6e9d35dd7412e79 /qmake/doc/snippets/code | |
| parent | d916ed12b3ce36fce04f107751423f9986be52f0 (diff) | |
Introduce QWheelEvent::Phase (Begin, Changed, Ended)
Some platforms (read: OS X) send wheel events without delta to indicate
that scrolling is about to start or has ended. Currently, Qt simply
ignores wheel events that have no delta. This change introduces a new
QWheelEvent attribute that specifies the phase, and makes it possible
to receive the special wheel events in started/ended phases. These
events are required for implementing correctly behaving transient
scrollbars.
Change-Id: Ib8ce0d9ce9be63b2ad60aa7b0aaa1f12ef6cad09
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'qmake/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
