diff options
author | Shawn Rutledge <shawn.rutledge@theqtcompany.com> | 2016-02-25 13:48:08 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@theqtcompany.com> | 2016-05-13 18:37:58 +0000 |
commit | b9e4a4df577959579b2322fb6077bde82d9ffce3 (patch) | |
tree | 5d95304cd8d143c510e5d9a1ca5c38e6ad542299 /examples/quick/scenegraph/scenegraph.pro | |
parent | f5ae7e4f8109a37c5bfab912ba0859f91ecac608 (diff) |
Flickable: add AutoFlickIfNeeded as an option for flickableDirection
If you want to disable all movement when the user tries to flick or
drag, you previously had to set interactive: false. Maybe you need to
bind that to some calculation to determine whether the content fits
completely inside the Flickable or not. This way is easier.
BTW the AutoFlickIfNeeded can be ORed with HorizontalFlick or
VerticalFlick, but we don't document it because AutoFlickDirection=0,
so it's not useful to OR that with anything.
Task-number: QTBUG-31121
Change-Id: Ib03b0f223cb40f0338510c318aa37e70ce71514d
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'examples/quick/scenegraph/scenegraph.pro')
0 files changed, 0 insertions, 0 deletions