QtBase  v6.3.1
Classes | Static Public Member Functions | List of all members
QWindowSystemInterface Class Reference

#include <qwindowsysteminterface.h>

Classes

struct  AsynchronousDelivery
 
struct  DefaultDelivery
 
struct  SynchronousDelivery
 
struct  TouchPoint
 

Static Public Member Functions

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 handleFrameStrutMouseEvent (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)
 
static bool handleFrameStrutMouseEvent (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)
 
static bool handleFrameStrutMouseEvent (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)
 
static bool handleFrameStrutMouseEvent (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, bool tryShortcutOverride=true)
 
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, bool tryShortcutOverride=true)
 
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, bool tryShortcutOverride=true)
 
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 &region)
 
template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool handlePaintEvent (QWindow *window, const QRegion &region)
 
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())
 
template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void handleWindowActivated (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 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. More...
 
static void handleScreenAdded (QPlatformScreen *screen, bool isPrimary=false)
 
static void handleScreenRemoved (QPlatformScreen *screen)
 
static void handlePrimaryScreenChanged (QPlatformScreen *newPrimary)
 
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)
 
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, int xTilt, int 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, int xTilt, int 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, int xTilt, int 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, int xTilt, int 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={}, int xTilt=0, int 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={}, int xTilt=0, int 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)
 
static void 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)
 
static void deferredFlushWindowSystemEvents (QEventLoop::ProcessEventsFlags flags)
 
static int windowSystemEventsQueued ()
 
static bool nonUserInputEventsQueued ()
 

Detailed Description

Since
5.0

Definition at line 72 of file qwindowsysteminterface.h.

Member Function Documentation

◆ deferredFlushWindowSystemEvents()

void QWindowSystemInterface::deferredFlushWindowSystemEvents ( QEventLoop::ProcessEventsFlags  flags)
static

Definition at line 1111 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ flushWindowSystemEvents()

bool QWindowSystemInterface::flushWindowSystemEvents ( QEventLoop::ProcessEventsFlags  flags = QEventLoop::AllEvents)
static

Make Qt Gui process all events on the event queue immediately. Return the accepted state for the last event on the queue.

Definition at line 1087 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleApplicationStateChanged()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleApplicationStateChanged ( Qt::ApplicationState  newState,
bool  forcePropagate = false 
)
static
Here is the caller graph for this function:

◆ handleApplicationTermination()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleApplicationTermination ( )
static

◆ handleCloseEvent()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleCloseEvent ( QWindow window)
static
Here is the caller graph for this function:

◆ handleContextMenuEvent()

void QWindowSystemInterface::handleContextMenuEvent ( QWindow window,
bool  mouseTriggered,
const QPoint pos,
const QPoint globalPos,
Qt::KeyboardModifiers  modifiers 
)
static

Definition at line 1054 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleEnterEvent()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleEnterEvent ( QWindow window,
const QPointF local = QPointF(),
const QPointF global = QPointF() 
)
static
Here is the caller graph for this function:

◆ handleEnterLeaveEvent()

void QWindowSystemInterface::handleEnterLeaveEvent ( QWindow enter,
QWindow leave,
const QPointF local = QPointF(),
const QPointF global = QPointF() 
)
static

This method can be used to ensure leave and enter events are both in queue when moving from one QWindow to another. This allows QWindow subclasses to check for a queued enter event when handling the leave event (QWindowSystemInterfacePrivate::peekWindowSystemEvent) to determine where mouse went and act accordingly. E.g. QWidgetWindow needs to know if mouse cursor moves between windows in same window hierarchy.

Definition at line 266 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleExposeEvent()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleExposeEvent ( QWindow window,
const QRegion region 
)
static
Here is the caller graph for this function:

◆ handleExtendedKeyEvent() [1/3]

bool QWindowSystemInterface::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,
bool  tryShortcutOverride = true 
)
static

Definition at line 531 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleExtendedKeyEvent() [2/3]

static bool QWindowSystemInterface::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,
bool  tryShortcutOverride = true 
)
static

◆ handleExtendedKeyEvent() [3/3]

bool QWindowSystemInterface::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,
bool  tryShortcutOverride = true 
)
static

Definition at line 542 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleFileOpenEvent() [1/2]

void QWindowSystemInterface::handleFileOpenEvent ( const QString fileName)
static

Definition at line 897 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleFileOpenEvent() [2/2]

void QWindowSystemInterface::handleFileOpenEvent ( const QUrl url)
static

Definition at line 903 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleFrameStrutMouseEvent() [1/4]

bool QWindowSystemInterface::handleFrameStrutMouseEvent ( 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 
)
static

Definition at line 425 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleFrameStrutMouseEvent() [2/4]

bool QWindowSystemInterface::handleFrameStrutMouseEvent ( 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 
)
static

Definition at line 436 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleFrameStrutMouseEvent() [3/4]

bool QWindowSystemInterface::handleFrameStrutMouseEvent ( 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 
)
static

Definition at line 447 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleFrameStrutMouseEvent() [4/4]

bool QWindowSystemInterface::handleFrameStrutMouseEvent ( 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

Definition at line 458 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleGeometryChange()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleGeometryChange ( QWindow window,
const QRect newRect 
)
static
Here is the caller graph for this function:

◆ handleGestureEvent()

bool QWindowSystemInterface::handleGestureEvent ( QWindow window,
ulong  timestamp,
const QPointingDevice device,
Qt::NativeGestureType  type,
const QPointF local,
const QPointF global,
int  fingerCount = 0 
)
static

Definition at line 1024 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleGestureEventWithRealValue()

bool QWindowSystemInterface::handleGestureEventWithRealValue ( QWindow window,
ulong  timestamp,
const QPointingDevice device,
Qt::NativeGestureType  type,
qreal  value,
const QPointF local,
const QPointF global,
int  fingerCount = 2 
)
static

Definition at line 1030 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleGestureEventWithValueAndDelta()

bool QWindowSystemInterface::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

Definition at line 1036 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleKeyEvent() [1/2]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleKeyEvent ( QWindow window,
QEvent::Type  t,
int  k,
Qt::KeyboardModifiers  mods,
const QString text = QString(),
bool  autorep = false,
ushort  count = 1 
)
static

◆ handleKeyEvent() [2/2]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleKeyEvent ( QWindow window,
ulong  timestamp,
QEvent::Type  t,
int  k,
Qt::KeyboardModifiers  mods,
const QString text = QString(),
bool  autorep = false,
ushort  count = 1 
)
static

◆ handleLeaveEvent()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleLeaveEvent ( QWindow window)
static

◆ handleMouseEvent() [1/4]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::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 
)
static
Here is the caller graph for this function:

◆ handleMouseEvent() [2/4]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::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 
)
static

◆ handleMouseEvent() [3/4]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::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 
)
static

◆ handleMouseEvent() [4/4]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::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

◆ handleNativeEvent()

bool QWindowSystemInterface::handleNativeEvent ( QWindow window,
const QByteArray eventType,
void message,
qintptr result 
)
static

Passes a native event identified by eventType to the window.

Note
This function can only be called from the GUI thread.

Definition at line 892 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handlePaintEvent()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handlePaintEvent ( QWindow window,
const QRegion region 
)
static

◆ handlePlatformPanelEvent()

void QWindowSystemInterface::handlePlatformPanelEvent ( QWindow window)
static

Definition at line 1048 of file qwindowsysteminterface.cpp.

◆ handlePrimaryScreenChanged()

void QWindowSystemInterface::handlePrimaryScreenChanged ( QPlatformScreen newPrimary)
static

Should be called whenever the primary screen changes.

When the screen specified as primary changes, this method will notify QGuiApplication and emit the QGuiApplication::primaryScreenChanged signal.

Definition at line 819 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleSafeAreaMarginsChanged()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleSafeAreaMarginsChanged ( QWindow window)
static

◆ handleScreenAdded()

void QWindowSystemInterface::handleScreenAdded ( QPlatformScreen ps,
bool  isPrimary = false 
)
static

Should be called by the implementation whenever a new screen is added.

The first screen added will be the primary screen, used for default-created windows, GL contexts, and other resources unless otherwise specified.

This adds the screen to QGuiApplication::screens(), and emits the QGuiApplication::screenAdded() signal.

The screen should be deleted by calling QWindowSystemInterface::handleScreenRemoved().

Definition at line 778 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleScreenGeometryChange()

void QWindowSystemInterface::handleScreenGeometryChange ( QScreen screen,
const QRect newGeometry,
const QRect newAvailableGeometry 
)
static

Definition at line 836 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleScreenLogicalDotsPerInchChange()

void QWindowSystemInterface::handleScreenLogicalDotsPerInchChange ( QScreen screen,
qreal  newDpiX,
qreal  newDpiY 
)
static

Definition at line 843 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleScreenOrientationChange()

void QWindowSystemInterface::handleScreenOrientationChange ( QScreen screen,
Qt::ScreenOrientation  newOrientation 
)
static

Definition at line 831 of file qwindowsysteminterface.cpp.

Here is the caller graph for this function:

◆ handleScreenRefreshRateChange()

void QWindowSystemInterface::handleScreenRefreshRateChange ( QScreen screen,
qreal  newRefreshRate 
)
static

Definition at line 850 of file qwindowsysteminterface.cpp.

Here is the caller graph for this function:

◆ handleScreenRemoved()

void QWindowSystemInterface::handleScreenRemoved ( QPlatformScreen platformScreen)
static

Should be called by the implementation whenever a screen is removed.

This removes the screen from QGuiApplication::screens(), and deletes it.

Failing to call this and manually deleting the QPlatformScreen instead may lead to a crash due to a pure virtual call.

Definition at line 805 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleShortcutEvent()

bool QWindowSystemInterface::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 
)
static

Definition at line 472 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleTabletEnterLeaveProximityEvent() [1/2]

bool QWindowSystemInterface::handleTabletEnterLeaveProximityEvent ( QWindow window,
const QPointingDevice device,
bool  inProximity,
const QPointF local = QPointF(),
const QPointF global = QPointF(),
Qt::MouseButtons  buttons = {},
int  xTilt = 0,
int  yTilt = 0,
qreal  tangentialPressure = 0,
qreal  rotation = 0,
int  z = 0,
Qt::KeyboardModifiers  modifiers = Qt::NoModifier 
)
static

Definition at line 982 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleTabletEnterLeaveProximityEvent() [2/2]

bool QWindowSystemInterface::handleTabletEnterLeaveProximityEvent ( QWindow window,
ulong  timestamp,
const QPointingDevice device,
bool  inProximity,
const QPointF local = QPointF(),
const QPointF global = QPointF(),
Qt::MouseButtons  buttons = {},
int  xTilt = 0,
int  yTilt = 0,
qreal  tangentialPressure = 0,
qreal  rotation = 0,
int  z = 0,
Qt::KeyboardModifiers  modifiers = Qt::NoModifier 
)
static

Definition at line 961 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleTabletEnterProximityEvent() [1/2]

void QWindowSystemInterface::handleTabletEnterProximityEvent ( int  deviceType,
int  pointerType,
qint64  uid 
)
static

Definition at line 1003 of file qwindowsysteminterface.cpp.

◆ handleTabletEnterProximityEvent() [2/2]

bool QWindowSystemInterface::handleTabletEnterProximityEvent ( ulong  timestamp,
int  deviceType,
int  pointerType,
qint64  uid 
)
static

Definition at line 995 of file qwindowsysteminterface.cpp.

Here is the caller graph for this function:

◆ handleTabletEvent() [1/4]

bool QWindowSystemInterface::handleTabletEvent ( QWindow window,
const QPointF local,
const QPointF global,
int  device,
int  pointerType,
Qt::MouseButtons  buttons,
qreal  pressure,
int  xTilt,
int  yTilt,
qreal  tangentialPressure,
qreal  rotation,
int  z,
qint64  uid,
Qt::KeyboardModifiers  modifiers = Qt::NoModifier 
)
static

Definition at line 951 of file qwindowsysteminterface.cpp.

◆ handleTabletEvent() [2/4]

bool QWindowSystemInterface::handleTabletEvent ( QWindow window,
const QPointingDevice device,
const QPointF local,
const QPointF global,
Qt::MouseButtons  buttons,
qreal  pressure,
int  xTilt,
int  yTilt,
qreal  tangentialPressure,
qreal  rotation,
int  z,
Qt::KeyboardModifiers  modifiers = Qt::NoModifier 
)
static

Definition at line 928 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleTabletEvent() [3/4]

bool QWindowSystemInterface::handleTabletEvent ( QWindow window,
ulong  timestamp,
const QPointF local,
const QPointF global,
int  device,
int  pointerType,
Qt::MouseButtons  buttons,
qreal  pressure,
int  xTilt,
int  yTilt,
qreal  tangentialPressure,
qreal  rotation,
int  z,
qint64  uid,
Qt::KeyboardModifiers  modifiers = Qt::NoModifier 
)
static

Definition at line 940 of file qwindowsysteminterface.cpp.

◆ handleTabletEvent() [4/4]

bool QWindowSystemInterface::handleTabletEvent ( QWindow window,
ulong  timestamp,
const QPointingDevice device,
const QPointF local,
const QPointF global,
Qt::MouseButtons  buttons,
qreal  pressure,
int  xTilt,
int  yTilt,
qreal  tangentialPressure,
qreal  rotation,
int  z,
Qt::KeyboardModifiers  modifiers = Qt::NoModifier 
)
static

Definition at line 914 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleTabletLeaveProximityEvent() [1/2]

void QWindowSystemInterface::handleTabletLeaveProximityEvent ( int  deviceType,
int  pointerType,
qint64  uid 
)
static

Definition at line 1017 of file qwindowsysteminterface.cpp.

◆ handleTabletLeaveProximityEvent() [2/2]

bool QWindowSystemInterface::handleTabletLeaveProximityEvent ( ulong  timestamp,
int  deviceType,
int  pointerType,
qint64  uid 
)
static

Definition at line 1009 of file qwindowsysteminterface.cpp.

Here is the caller graph for this function:

◆ handleThemeChange()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleThemeChange ( QWindow window)
static
Here is the caller graph for this function:

◆ handleTouchCancelEvent() [1/2]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleTouchCancelEvent ( QWindow window,
const QPointingDevice device,
Qt::KeyboardModifiers  mods = Qt::NoModifier 
)
static
Here is the caller graph for this function:

◆ handleTouchCancelEvent() [2/2]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleTouchCancelEvent ( QWindow window,
ulong  timestamp,
const QPointingDevice device,
Qt::KeyboardModifiers  mods = Qt::NoModifier 
)
static

◆ handleTouchEvent() [1/2]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleTouchEvent ( QWindow window,
const QPointingDevice device,
const QList< struct TouchPoint > &  points,
Qt::KeyboardModifiers  mods = Qt::NoModifier 
)
static
Here is the caller graph for this function:

◆ handleTouchEvent() [2/2]

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static bool QWindowSystemInterface::handleTouchEvent ( QWindow window,
ulong  timestamp,
const QPointingDevice device,
const QList< struct TouchPoint > &  points,
Qt::KeyboardModifiers  mods = Qt::NoModifier 
)
static

◆ handleWheelEvent() [1/3]

bool QWindowSystemInterface::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

Definition at line 562 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleWheelEvent() [2/3]

bool QWindowSystemInterface::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

Definition at line 568 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleWheelEvent() [3/3]

bool QWindowSystemInterface::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

Definition at line 575 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ handleWindowActivated()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleWindowActivated ( QWindow window,
Qt::FocusReason  r = Qt::OtherFocusReason 
)
static
Here is the caller graph for this function:

◆ handleWindowScreenChanged()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleWindowScreenChanged ( QWindow window,
QScreen newScreen 
)
static
Here is the caller graph for this function:

◆ handleWindowStateChanged()

template<typename Delivery = QWindowSystemInterface::DefaultDelivery>
static void QWindowSystemInterface::handleWindowStateChanged ( QWindow window,
Qt::WindowStates  newState,
int  oldState = -1 
)
static
Here is the caller graph for this function:

◆ nonUserInputEventsQueued()

bool QWindowSystemInterface::nonUserInputEventsQueued ( )
static

Definition at line 1162 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

◆ registerInputDevice()

void QWindowSystemInterface::registerInputDevice ( const QInputDevice device)
static

Definition at line 641 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendWindowSystemEvents()

bool QWindowSystemInterface::sendWindowSystemEvents ( QEventLoop::ProcessEventsFlags  flags)
static

Definition at line 1120 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSynchronousWindowSystemEvents()

void QWindowSystemInterface::setSynchronousWindowSystemEvents ( bool  enable)
static

Definition at line 1152 of file qwindowsysteminterface.cpp.

Here is the caller graph for this function:

◆ windowSystemEventsQueued()

int QWindowSystemInterface::windowSystemEventsQueued ( )
static

Definition at line 1157 of file qwindowsysteminterface.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: