Mac: refactor scrollbar animations
authorJ-P Nurmi <jpnurmi@digia.com>
Tue, 30 Oct 2012 12:47:20 +0000 (13:47 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 2 Nov 2012 18:49:22 +0000 (19:49 +0100)
commit3c2bfbff5f4c836de32628710ab7701b0db083f7
tree4e6c262f6cbaa4978bcf47b239423fe305af50bb
parent020196d16b6c25e16bf80483f08e0007a27eab13
Mac: refactor scrollbar animations

Get rid of QWidget-centric QMacStyle::eventFilter() and implement the
fade out animations for scrollbars using QNumberStyleAnimation-based
QFadeOutAnimation.

Change-Id: I2000fa50d46b153e981ceafc12a53932a196382e
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
17 files changed:
src/widgets/styles/qcommonstyle.cpp
src/widgets/styles/qmacstyle_mac.h
src/widgets/styles/qmacstyle_mac.mm
src/widgets/styles/qmacstyle_mac_p.h
src/widgets/styles/qstyle.cpp
src/widgets/styles/qstyle.h
src/widgets/widgets/qabstractscrollarea.cpp
src/widgets/widgets/qabstractscrollarea.h
src/widgets/widgets/qabstractscrollarea_p.h
src/widgets/widgets/qscrollarea.cpp
src/widgets/widgets/qscrollbar.cpp
src/widgets/widgets/qscrollbar.h
src/widgets/widgets/qscrollbar_p.h [new file with mode: 0644]
src/widgets/widgets/widgets.pri
tests/auto/widgets/itemviews/qlistwidget/tst_qlistwidget.cpp
tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp
tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp