QInputEvent Class
The QInputEvent class is the base class for events that describe user input. More...
Header: | #include <QInputEvent> |
qmake: | QT += gui |
Inherits: | |
Inherited By: | QContextMenuEvent, QHoverEvent, QKeyEvent, QMouseEvent, QNativeGestureEvent, QTabletEvent, QTouchEvent, and QWheelEvent |
Public Functions
Detailed Description
The QInputEvent class is the base class for events that describe user input.
Member Function Documentation
Qt::KeyboardModifiers QInputEvent::modifiers() const
Returns the keyboard modifier flags that existed immediately before the event occurred.
See also QGuiApplication::keyboardModifiers().
ulong QInputEvent::timestamp() const
Returns the window system's timestamp for this event.