Improve usability of qmlvideofx example on small touchscreens
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>
Fri, 10 Feb 2012 15:25:14 +0000 (15:25 +0000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 13 Feb 2012 00:30:57 +0000 (01:30 +0100)
commita93be80d33ab4af20f10de946b0aa3785fc2d843
tree156dbd23ca92fc33c1198f0981350ef54b580a02
parent2d188bdb3f6fe4f84f28cee8e7f44840078c82bd
Improve usability of qmlvideofx example on small touchscreens

* Add tolerance to mouse press detection on divider and slider grips,
  so that clicks just outside of the grip radius are treated as if the
  click was inside the grip.
* When slider bar outside of grip radius is clicked, increment slider
  position by a fixed amount, towards the click position.

Change-Id: Iefb0b274ee5a97ed5cb789596bf6b3c07a7fc8b8
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
examples/video/qmlvideofx/qml/qmlvideofx/Divider.qml
examples/video/qmlvideofx/qml/qmlvideofx/ParameterPanel.qml
examples/video/qmlvideofx/qml/qmlvideofx/Slider.qml
examples/video/qmlvideofx/qml/qmlvideofx/main-largescreen.qml
examples/video/qmlvideofx/qml/qmlvideofx/main-smallscreen.qml