|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleMouseEvent (QWindow *window, const QPointF &local, const QPointF &global, Qt::MouseButtons state, Qt::MouseButton button, QEvent::Type type, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleMouseEvent (QWindow *window, const QPointingDevice *device, const QPointF &local, const QPointF &global, Qt::MouseButtons state, Qt::MouseButton button, QEvent::Type type, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleMouseEvent (QWindow *window, ulong timestamp, const QPointF &local, const QPointF &global, Qt::MouseButtons state, Qt::MouseButton button, QEvent::Type type, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleMouseEvent (QWindow *window, ulong timestamp, const QPointingDevice *device, const QPointF &local, const QPointF &global, Qt::MouseButtons state, Qt::MouseButton button, QEvent::Type type, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized) |
|
static bool | handleShortcutEvent (QWindow *window, ulong timestamp, int k, Qt::KeyboardModifiers mods, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text=QString(), bool autorep=false, ushort count=1) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleKeyEvent (QWindow *window, QEvent::Type t, int k, Qt::KeyboardModifiers mods, const QString &text=QString(), bool autorep=false, ushort count=1) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleKeyEvent (QWindow *window, ulong timestamp, QEvent::Type t, int k, Qt::KeyboardModifiers mods, const QString &text=QString(), bool autorep=false, ushort count=1) |
|
static bool | handleExtendedKeyEvent (QWindow *window, QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text=QString(), bool autorep=false, ushort count=1) |
|
static bool | handleExtendedKeyEvent (QWindow *window, ulong timestamp, QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text=QString(), bool autorep=false, ushort count=1) |
|
static bool | handleExtendedKeyEvent (QWindow *window, ulong timestamp, const QInputDevice *device, QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text=QString(), bool autorep=false, ushort count=1) |
|
static bool | handleWheelEvent (QWindow *window, const QPointF &local, const QPointF &global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::ScrollPhase phase=Qt::NoScrollPhase, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized) |
|
static bool | handleWheelEvent (QWindow *window, ulong timestamp, const QPointF &local, const QPointF &global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::ScrollPhase phase=Qt::NoScrollPhase, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized, bool inverted=false) |
|
static bool | handleWheelEvent (QWindow *window, ulong timestamp, const QPointingDevice *device, const QPointF &local, const QPointF &global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers mods=Qt::NoModifier, Qt::ScrollPhase phase=Qt::NoScrollPhase, Qt::MouseEventSource source=Qt::MouseEventNotSynthesized, bool inverted=false) |
|
static void | registerInputDevice (const QInputDevice *device) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleTouchEvent (QWindow *window, const QPointingDevice *device, const QList< struct TouchPoint > &points, Qt::KeyboardModifiers mods=Qt::NoModifier) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleTouchEvent (QWindow *window, ulong timestamp, const QPointingDevice *device, const QList< struct TouchPoint > &points, Qt::KeyboardModifiers mods=Qt::NoModifier) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleTouchCancelEvent (QWindow *window, const QPointingDevice *device, Qt::KeyboardModifiers mods=Qt::NoModifier) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleTouchCancelEvent (QWindow *window, ulong timestamp, const QPointingDevice *device, Qt::KeyboardModifiers mods=Qt::NoModifier) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleGeometryChange (QWindow *window, const QRect &newRect) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleExposeEvent (QWindow *window, const QRegion ®ion) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handlePaintEvent (QWindow *window, const QRegion ®ion) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleCloseEvent (QWindow *window) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleEnterEvent (QWindow *window, const QPointF &local=QPointF(), const QPointF &global=QPointF()) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleLeaveEvent (QWindow *window) |
|
static void | handleEnterLeaveEvent (QWindow *enter, QWindow *leave, const QPointF &local=QPointF(), const QPointF &global=QPointF()) |
| This method can be used to ensure leave and enter events are both in queue when moving from one QWindow to another.
|
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleFocusWindowChanged (QWindow *window, Qt::FocusReason r=Qt::OtherFocusReason) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleWindowStateChanged (QWindow *window, Qt::WindowStates newState, int oldState=-1) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleWindowScreenChanged (QWindow *window, QScreen *newScreen) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleWindowDevicePixelRatioChanged (QWindow *window) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleSafeAreaMarginsChanged (QWindow *window) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleApplicationStateChanged (Qt::ApplicationState newState, bool forcePropagate=false) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleApplicationTermination () |
|
static bool | handleNativeEvent (QWindow *window, const QByteArray &eventType, void *message, qintptr *result) |
| Passes a native event identified by eventType to the window.
|
|
static void | handleScreenAdded (QPlatformScreen *screen, bool isPrimary=false) |
| Should be called by the implementation whenever a new screen is added.
|
|
static void | handleScreenRemoved (QPlatformScreen *screen) |
| Should be called by the implementation whenever a screen is removed.
|
|
static void | handlePrimaryScreenChanged (QPlatformScreen *newPrimary) |
| Should be called whenever the primary screen changes.
|
|
static void | handleScreenOrientationChange (QScreen *screen, Qt::ScreenOrientation newOrientation) |
|
static void | handleScreenGeometryChange (QScreen *screen, const QRect &newGeometry, const QRect &newAvailableGeometry) |
|
static void | handleScreenLogicalDotsPerInchChange (QScreen *screen, qreal newDpiX, qreal newDpiY) |
|
static void | handleScreenRefreshRateChange (QScreen *screen, qreal newRefreshRate) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static void | handleThemeChange (QWindow *window=nullptr) |
|
static void | handleFileOpenEvent (const QString &fileName) |
|
static void | handleFileOpenEvent (const QUrl &url) |
|
static bool | handleTabletEvent (QWindow *window, ulong timestamp, const QPointingDevice *device, const QPointF &local, const QPointF &global, Qt::MouseButtons buttons, qreal pressure, qreal xTilt, qreal yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers modifiers=Qt::NoModifier) |
|
static bool | handleTabletEvent (QWindow *window, const QPointingDevice *device, const QPointF &local, const QPointF &global, Qt::MouseButtons buttons, qreal pressure, qreal xTilt, qreal yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers modifiers=Qt::NoModifier) |
|
static bool | handleTabletEvent (QWindow *window, ulong timestamp, const QPointF &local, const QPointF &global, int device, int pointerType, Qt::MouseButtons buttons, qreal pressure, qreal xTilt, qreal yTilt, qreal tangentialPressure, qreal rotation, int z, qint64 uid, Qt::KeyboardModifiers modifiers=Qt::NoModifier) |
|
static bool | handleTabletEvent (QWindow *window, const QPointF &local, const QPointF &global, int device, int pointerType, Qt::MouseButtons buttons, qreal pressure, qreal xTilt, qreal yTilt, qreal tangentialPressure, qreal rotation, int z, qint64 uid, Qt::KeyboardModifiers modifiers=Qt::NoModifier) |
|
static bool | handleTabletEnterLeaveProximityEvent (QWindow *window, ulong timestamp, const QPointingDevice *device, bool inProximity, const QPointF &local=QPointF(), const QPointF &global=QPointF(), Qt::MouseButtons buttons={}, qreal xTilt=0, qreal yTilt=0, qreal tangentialPressure=0, qreal rotation=0, int z=0, Qt::KeyboardModifiers modifiers=Qt::NoModifier) |
|
static bool | handleTabletEnterLeaveProximityEvent (QWindow *window, const QPointingDevice *device, bool inProximity, const QPointF &local=QPointF(), const QPointF &global=QPointF(), Qt::MouseButtons buttons={}, qreal xTilt=0, qreal yTilt=0, qreal tangentialPressure=0, qreal rotation=0, int z=0, Qt::KeyboardModifiers modifiers=Qt::NoModifier) |
|
static bool | handleTabletEnterProximityEvent (ulong timestamp, int deviceType, int pointerType, qint64 uid) |
|
static void | handleTabletEnterProximityEvent (int deviceType, int pointerType, qint64 uid) |
|
static bool | handleTabletLeaveProximityEvent (ulong timestamp, int deviceType, int pointerType, qint64 uid) |
|
static void | handleTabletLeaveProximityEvent (int deviceType, int pointerType, qint64 uid) |
|
static bool | handleGestureEvent (QWindow *window, ulong timestamp, const QPointingDevice *device, Qt::NativeGestureType type, const QPointF &local, const QPointF &global, int fingerCount=0) |
|
static bool | handleGestureEventWithRealValue (QWindow *window, ulong timestamp, const QPointingDevice *device, Qt::NativeGestureType type, qreal value, const QPointF &local, const QPointF &global, int fingerCount=2) |
|
static bool | handleGestureEventWithValueAndDelta (QWindow *window, ulong timestamp, const QPointingDevice *device, Qt::NativeGestureType type, qreal value, const QPointF &delta, const QPointF &local, const QPointF &global, int fingerCount=2) |
|
static void | handlePlatformPanelEvent (QWindow *window) |
|
template<typename Delivery = QWindowSystemInterface::DefaultDelivery> |
static bool | handleContextMenuEvent (QWindow *window, bool mouseTriggered, const QPoint &pos, const QPoint &globalPos, Qt::KeyboardModifiers modifiers) |
|
static bool | sendWindowSystemEvents (QEventLoop::ProcessEventsFlags flags) |
|
static void | setSynchronousWindowSystemEvents (bool enable) |
|
static bool | flushWindowSystemEvents (QEventLoop::ProcessEventsFlags flags=QEventLoop::AllEvents) |
| Make Qt Gui process all events on the event queue immediately.
|
|
static void | deferredFlushWindowSystemEvents (QEventLoop::ProcessEventsFlags flags) |
|
static int | windowSystemEventsQueued () |
|
static bool | nonUserInputEventsQueued () |
|