Table Of Contents

Previous topic

QGraphicsSceneMouseEvent

Next topic

QTouchEvent

QInputEvent

Inheritance diagram of QInputEvent

Inherited by: QTouchEvent, QContextMenuEvent, QKeyEvent, QTabletEvent, QWheelEvent, QMouseEvent

Synopsis

Functions

Detailed Description

The PySide.QtGui.QInputEvent class is the base class for events that describe user input.
class PySide.QtGui.QInputEvent(type[, modifiers=Qt.NoModifier])
Parameters:
  • modifiersPySide.QtCore.Qt.KeyboardModifiers
  • typePySide.QtCore.QEvent.Type
PySide.QtGui.QInputEvent.modifiers()
Return type:PySide.QtCore.Qt.KeyboardModifiers

Returns the keyboard modifier flags that existed immediately before the event occurred.

PySide.QtGui.QInputEvent.setModifiers(amodifiers)
Parameters:amodifiersPySide.QtCore.Qt.KeyboardModifiers