aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmlbind.cpp
diff options
context:
space:
mode:
authorNoah Davis <noahadvs@gmail.com>2022-01-10 13:37:41 -0500
committerNoah Davis <noahadvs@gmail.com>2022-01-20 19:23:59 -0500
commit2ead10bf55733defe58616de7fe2c28452d00c93 (patch)
treef44c05d2c79217da18eba33d12c2c9968064604c /src/qml/types/qqmlbind.cpp
parente19d48d07310708e56cb379124dff193c1a7fa71 (diff)
TabBar: allow wheel events to change currentIndex
Setting wheelEnabled to true allows wheel events to increment or decrement the currentIndex. We keep track of the total amount of angleDelta so that touchpads and high resolution mouse wheels don't change the currentIndex too rapidly. Pick-to: 6.2 6.3 Fixes: QTBUG-99619 Change-Id: I9bda828338ee5136efcdd6abeca8e5be15da0822 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/types/qqmlbind.cpp')
0 files changed, 0 insertions, 0 deletions