Qt Reference Documentation

QInputEvent Class Reference

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

 #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().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.