Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>. QPointerEvent instances are stack-allocated in QGuiApplicationPrivate::processMouseEvent(), QGuiApplicationPrivate::processTouchEvent() etc., and sent to the application via QCoreApplication::sendSpontaneousEvent() (taking QWindow and QEvent pointer argumen