From c5ecabb70c0f0cb25a22bf3742f39648a34d1c3c Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Sat, 15 Nov 2014 11:40:51 +0000 Subject: Send events when platform surfaces are created/about to be destroyed These synchronously delivered events allow applications to correctly and conveniently handle native platform surfaces being destroyed. This is particularly useful when doing rendering on a non-gui thread as it allows to shutdown rendering before the native surface gets destroyed from under us. Task-number: QTBUG-42476 Task-number: QTBUG-42483 Change-Id: I63f41bbdb32f281d0f3b8ec2537eb2b0361f3bb3 Reviewed-by: Laszlo Agocs --- src/corelib/kernel/qcoreevent.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/kernel/qcoreevent.cpp') diff --git a/src/corelib/kernel/qcoreevent.cpp b/src/corelib/kernel/qcoreevent.cpp index 191ceaa37b..68d48dbe25 100644 --- a/src/corelib/kernel/qcoreevent.cpp +++ b/src/corelib/kernel/qcoreevent.cpp @@ -183,6 +183,7 @@ QT_BEGIN_NAMESPACE \value ParentAboutToChange The widget parent is about to change. \value ParentChange The widget parent has changed. \value PlatformPanel A platform specific panel has been requested. + \value PlatformSurface A native platform surface has been created or is about to be destroyed. \value Polish The widget is polished. \value PolishRequest The widget should be polished. \value QueryWhatsThis The widget should accept the event if it has "What's This?" help. -- cgit v1.2.3