aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@theqtcompany.com>2016-02-25 13:48:08 +0100
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>2016-05-13 18:37:58 +0000
commitb9e4a4df577959579b2322fb6077bde82d9ffce3 (patch)
tree5d95304cd8d143c510e5d9a1ca5c38e6ad542299 /tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
parentf5ae7e4f8109a37c5bfab912ba0859f91ecac608 (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 'tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp')
0 files changed, 0 insertions, 0 deletions