Table Of Contents

Previous topic

QHoverEvent

Next topic

QKeyEvent

QInputEvent

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

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