41 #ifndef QWINDOWSYSTEMINTERFACE_QPA_P_H 42 #define QWINDOWSYSTEMINTERFACE_QPA_P_H 148 :
UserEvent(w, time,
Wheel), delta(d), localPos(local), globalPos(global), orient(o) { }
159 repeatCount(count), modifiers(mods), keyType(t),
160 nativeScanCode(0), nativeVirtualKey(0), nativeModifiers(0) { }
165 repeatCount(count), modifiers(mods), keyType(t),
166 nativeScanCode(nativeSC), nativeVirtualKey(nativeVK), nativeModifiers(nativeMods) { }
181 :
UserEvent(w, time,
Touch), devType(d), points(p), touchType(t) { }
235 #endif // QWINDOWSYSTEMINTERFACE_QPA_P_H
TouchEvent(QWidget *w, ulong time, QEvent::Type t, QTouchEvent::DeviceType d, const QList< QTouchEvent::TouchPoint > &p)
LeaveEvent(QWidget *leave)
Qt::KeyboardModifiers modifiers
This property holds the keyboard modifier flags that existed immediately before the event occurred...
QList< QTouchEvent::TouchPoint > points
QWeakPointer< QWidget > leave
#define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
QPointer< QWidget > widget
WindowStateChangedEvent(QWidget *_tlw, Qt::WindowState _newState)
static Qt::MouseButtons buttons
UserEvent(QWidget *w, ulong time, EventType t)
virtual ~WindowSystemEvent()
KeyEvent(QWidget *w, ulong time, QEvent::Type t, int k, Qt::KeyboardModifiers mods, const QString &text=QString(), bool autorep=false, ushort count=1)
Qt::MouseButtons buttons
This property holds the mouse buttons pressed when the event was generated.
The QString class provides a Unicode character string.
DeviceType
This enum represents the type of device that generated a QTouchEvent.
QWeakPointer< QWidget > tlw
int key
This property holds the code of the key that was pressed or released.
ScreenGeometryEvent(int index)
static int windowSystemEventsQueued()
KeyEvent(QWidget *w, ulong time, QEvent::Type t, int k, Qt::KeyboardModifiers mods, quint32 nativeSC, quint32 nativeVK, quint32 nativeMods, const QString &text=QString(), bool autorep=false, ushort count=1)
static QList< WindowSystemEvent * > windowSystemEventQueue
The QTime class provides clock time functions.
#define QT_BEGIN_NAMESPACE
This macro expands to.
WindowSystemEvent(EventType t)
static void queueWindowSystemEvent(WindowSystemEvent *ev)
ActivatedWindowEvent(QWidget *activatedWindow)
WheelEvent(QWidget *w, ulong time, const QPoint &local, const QPoint &global, int d, Qt::Orientation o)
QWeakPointer< QWidget > activated
EnterEvent(QWidget *enter)
static WindowSystemEvent * getWindowSystemEvent()
Type
This enum type defines the valid event types in Qt.
MouseEvent(QWidget *w, ulong time, const QPoint &local, const QPoint &global, Qt::MouseButtons b)
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
QWeakPointer< QWidget > topLevel
ScreenCountEvent(int count)
QWeakPointer< QWidget > widget
GeometryChangeEvent(QWidget *tlw, const QRect &newGeometry)
ScreenAvailableGeometryEvent(int index)
QTouchEvent::DeviceType devType
QWeakPointer< QWidget > enter
QWeakPointer< QWidget > tlw