qt5base-lts/tests/auto/widgets
Marc Mutz aec5b76b51 [QTBUG-27308][QTBUG-21534] Don't mouse-wheel-scroll QScrollBar when disabled
This fixes a regression introduced in Qt 4 commit
e855b199319c932f2e9500235775f961bc32e41a.

The problem was that by handling the wheel event in event()
instead of wheelEvent(), we lack the guard clause in QWidget
that doesn't even call the handler if the widget is disabled,
and the code didn't handle this itself.

Fix by reimplementing wheelEvent() instead, which we can now
do because we can break BC.

This commit just moves the code. Another commit will clean
up the implementation of wheelEvent().

Task-number: QTBUG-27308
Reported-by: chenjiexin
Task-number: QTBUG-21534
Reported-by: Martin Koller
Change-Id: Ibe6b89a81fe889f839c205b859a1492b39a4ddc3
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-09-26 19:06:47 +02:00
..
dialogs QFileSystemModel: fix permission mangling 2012-09-26 04:03:41 +02:00
effects Auto tests: remove PlatformQuirks::isAutoMaximizing() 2012-09-26 10:08:59 +02:00
graphicsview Auto tests: remove PlatformQuirks::isAutoMaximizing() 2012-09-26 10:08:59 +02:00
itemviews Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
kernel Auto tests: remove PlatformQuirks::isAutoMaximizing() 2012-09-26 10:08:59 +02:00
styles Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
util Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
widgets [QTBUG-27308][QTBUG-21534] Don't mouse-wheel-scroll QScrollBar when disabled 2012-09-26 19:06:47 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00