45 #include <QtCore/qglobal.h> 46 #include <QtCore/qurl.h> 47 #include <QtGui/qevent.h> 112 if (!this->ref.deref())
123 lastPos, lastScenePos, lastScreenPos, lastNormalizedPos;
127 #ifndef QT_NO_GESTURES 144 , sequenceId(0), argument(0)
163 : gestures(list),
widget(0)
172 #endif // QT_NO_GESTURES
The QKeyEvent class describes a key event.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
The QAtomicInt class provides platform-independent atomic operations on integers. ...
quint32 nativeScanCode() const
Returns the native scan code of the key event.
Qt::TouchPointStates state
#define Q_WS_WIN
Defined on Windows.
The QPointF class defines a point in the plane using floating point precision.
static Qt::MouseButtons buttons
quint32 nativeModifiers() const
Returns the native modifiers of a key event.
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifier flags that existed immediately after the event occurred.
int key() const
Returns the code of the key that was pressed or released.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
QMap< Qt::GestureType, QWidget * > targetWidgets
int count() const
Returns the number of keys involved in this event.
QTouchEventTouchPointPrivate * detach()
The QMouseEvent class contains parameters that describe a mouse event.
QList< QGesture * > gestures
Type
This enum type defines the valid event types in Qt.
QString text() const
Returns the Unicode text that this key generated.
The QPoint class defines a point in the plane using integer precision.
QTouchEventTouchPointPrivate(int id)
QGestureEventPrivate(const QList< QGesture *> &list)
The QEvent class is the base class of all event classes.
Type type() const
Returns the event type.
QMap< Qt::GestureType, bool > accepted
QFileOpenEventPrivate(const QUrl &url)
quint32 nativeVirtualKey() const
Returns the native virtual key, or key sym of the key event.
QKeyEventEx(Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text, bool autorep, ushort count, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers)
Creates an extended key event object, which in addition to the normal key event data, also contains the native scan code, virtual key and modifiers.
The QList class is a template class that provides lists.