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>
\omitvalue ShowWindowRequest
\omitvalue Speech
\omitvalue Style
+ \omitvalue StyleAnimationUpdate
\omitvalue ZeroTimerEvent
\omitvalue ApplicationActivated
\omitvalue ApplicationDeactivated
PlatformPanel = 212,
+ StyleAnimationUpdate = 213, // style animation target should be updated
+
// 512 reserved for Qt Jambi's MetaCall event
// 513 reserved for Qt Jambi's DeleteOnMainThread event
break;
case QEvent::WindowActivate:
case QEvent::WindowDeactivate:
+ case QEvent::StyleAnimationUpdate:
update();
break;
// Taken from QWidget::event
case QEvent::UpdateLater:
update(static_cast<QUpdateLaterEvent*>(event)->region());
break;
+ case QEvent::StyleAnimationUpdate:
+ update();
+ break;
case QEvent::WindowBlocked:
case QEvent::WindowUnblocked: