Add QEvent::StyleAnimationUpdate: style animation target should update
authorJ-P Nurmi <jpnurmi@digia.com>
Thu, 4 Oct 2012 13:30:09 +0000 (15:30 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 8 Oct 2012 22:46:01 +0000 (00:46 +0200)
commit8f9346dd663d65f5030d4fb590564a8661a634d8
tree89f1cccce671a868efa54bb6bbede804d4b97490
parent0776746d47c9b0d575b6190b1882c571a76ee086
Add QEvent::StyleAnimationUpdate: style animation target should update

The event will be sent from the upcoming style animations. This change
merely introduces the new event type and makes both QWidget and
QGraphicsWidget call update() upon receiving the event.

Change-Id: I69bb4d05bacb22f7e3a2512cae68848801e4f4d7
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/corelib/kernel/qcoreevent.cpp
src/corelib/kernel/qcoreevent.h
src/widgets/graphicsview/qgraphicswidget.cpp
src/widgets/kernel/qwidget.cpp