QInputEvent Class

The QInputEvent class is the base class for events that describe user input. More...

Header: #include <QInputEvent>
Inherits: QEvent.
Inherited By:

QContextMenuEvent, QKeyEvent, QMouseEvent, QTabletEvent, QTouchEvent, and QWheelEvent.

Public Functions

Qt::KeyboardModifiers modifiers() const
  • 6 public functions inherited from QEvent

Additional Inherited Members

  • 1 property inherited from QEvent
  • 1 static public member inherited from QEvent

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 QApplication::keyboardModifiers().

© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.