diff options
author | Noah Davis <noahadvs@gmail.com> | 2022-01-10 13:37:41 -0500 |
---|---|---|
committer | Noah Davis <noahadvs@gmail.com> | 2022-01-20 19:23:59 -0500 |
commit | 2ead10bf55733defe58616de7fe2c28452d00c93 (patch) | |
tree | f44c05d2c79217da18eba33d12c2c9968064604c /src/qml/types/qqmlbind.cpp | |
parent | e19d48d07310708e56cb379124dff193c1a7fa71 (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