Qt
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>.
Loading...
Searching...
No Matches
QWindowSystemInterfacePrivate::KeyEvent Class Reference

#include <qwindowsysteminterface_p.h>

+ Inheritance diagram for QWindowSystemInterfacePrivate::KeyEvent:
+ Collaboration diagram for QWindowSystemInterfacePrivate::KeyEvent:

Public Member Functions

 KeyEvent (QWindow *w, ulong time, QEvent::Type t, int k, Qt::KeyboardModifiers mods, const QString &text=QString(), bool autorep=false, ushort count=1, const QInputDevice *device=QInputDevice::primaryKeyboard())
 
 KeyEvent (QWindow *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, const QInputDevice *device=QInputDevice::primaryKeyboard())
 
- Public Member Functions inherited from QWindowSystemInterfacePrivate::InputEvent
 InputEvent (QWindow *w, ulong time, EventType t, Qt::KeyboardModifiers mods, const QInputDevice *dev)
 
- Public Member Functions inherited from QWindowSystemInterfacePrivate::UserEvent
 UserEvent (QWindow *w, ulong time, EventType t)
 
- Public Member Functions inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
 WindowSystemEvent (EventType t)
 
virtual ~WindowSystemEvent ()
 
bool synthetic () const
 
bool nullWindow () const
 

Public Attributes

const QInputDevicesource
 
int key
 
QString unicode
 
bool repeat
 
ushort repeatCount
 
QEvent::Type keyType
 
quint32 nativeScanCode
 
quint32 nativeVirtualKey
 
quint32 nativeModifiers
 
- Public Attributes inherited from QWindowSystemInterfacePrivate::InputEvent
Qt::KeyboardModifiers modifiers
 
const QInputDevicedevice
 
- Public Attributes inherited from QWindowSystemInterfacePrivate::UserEvent
QPointer< QWindowwindow
 
unsigned long timestamp
 
- Public Attributes inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
EventType type
 
int flags
 
bool eventAccepted
 

Additional Inherited Members

- Public Types inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
enum  { Synthetic = 0x1 , NullWindow = 0x2 }
 

Detailed Description

Definition at line 258 of file qwindowsysteminterface_p.h.

Constructor & Destructor Documentation

◆ KeyEvent() [1/2]

QWindowSystemInterfacePrivate::KeyEvent::KeyEvent ( QWindow * w,
ulong time,
QEvent::Type t,
int k,
Qt::KeyboardModifiers mods,
const QString & text = QString(),
bool autorep = false,
ushort count = 1,
const QInputDevice * device = QInputDevice::primaryKeyboard() )
inline

Definition at line 260 of file qwindowsysteminterface_p.h.

◆ KeyEvent() [2/2]

QWindowSystemInterfacePrivate::KeyEvent::KeyEvent ( QWindow * 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,
const QInputDevice * device = QInputDevice::primaryKeyboard() )
inline

Definition at line 266 of file qwindowsysteminterface_p.h.

Member Data Documentation

◆ key

int QWindowSystemInterfacePrivate::KeyEvent::key

Definition at line 274 of file qwindowsysteminterface_p.h.

Referenced by QGuiApplicationPrivate::processKeyEvent().

◆ keyType

QEvent::Type QWindowSystemInterfacePrivate::KeyEvent::keyType

Definition at line 278 of file qwindowsysteminterface_p.h.

Referenced by QGuiApplicationPrivate::processKeyEvent().

◆ nativeModifiers

quint32 QWindowSystemInterfacePrivate::KeyEvent::nativeModifiers

Definition at line 281 of file qwindowsysteminterface_p.h.

Referenced by QGuiApplicationPrivate::processKeyEvent().

◆ nativeScanCode

quint32 QWindowSystemInterfacePrivate::KeyEvent::nativeScanCode

Definition at line 279 of file qwindowsysteminterface_p.h.

Referenced by QGuiApplicationPrivate::processKeyEvent().

◆ nativeVirtualKey

quint32 QWindowSystemInterfacePrivate::KeyEvent::nativeVirtualKey

Definition at line 280 of file qwindowsysteminterface_p.h.

Referenced by QGuiApplicationPrivate::processKeyEvent().

◆ repeat

bool QWindowSystemInterfacePrivate::KeyEvent::repeat

Definition at line 276 of file qwindowsysteminterface_p.h.

Referenced by QGuiApplicationPrivate::processKeyEvent().

◆ repeatCount

ushort QWindowSystemInterfacePrivate::KeyEvent::repeatCount

Definition at line 277 of file qwindowsysteminterface_p.h.

Referenced by QGuiApplicationPrivate::processKeyEvent().

◆ source

const QInputDevice* QWindowSystemInterfacePrivate::KeyEvent::source

Definition at line 273 of file qwindowsysteminterface_p.h.

◆ unicode

QString QWindowSystemInterfacePrivate::KeyEvent::unicode

Definition at line 275 of file qwindowsysteminterface_p.h.

Referenced by QGuiApplicationPrivate::processKeyEvent().


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