Qt Reference Documentation

Contents

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

Additional Inherited Members

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