The QInputEvent class is the base class for events that describe user input. More...
Header: | #include <QInputEvent> |
qmake: | QT += gui |
Inherits: | QEvent |
Inherited By: | QContextMenuEvent, QHoverEvent, QKeyEvent, QMouseEvent, QNativeGestureEvent, QTabletEvent, QTouchEvent, and QWheelEvent |
Qt::KeyboardModifiers | modifiers() const |
ulong | timestamp() const |
Returns the keyboard modifier flags that existed immediately before the event occurred.
See also QGuiApplication::keyboardModifiers().
Returns the window system's timestamp for this event. It will normally be in milliseconds since some arbitrary point in time, such as the time when the system was started.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qinputevent.html