Event Classes

Classes used to create and handle events.

These Qt Core classes are used to create and handle events.

For more information see the Event System page.

PySide6.QtCore.QAbstractEventDispatcher

The QAbstractEventDispatcher class provides an interface to manage Qt’s event queue.

PySide6.QtCore.QBasicTimer

The QBasicTimer class provides timer events for objects.

PySide6.QtCore.QEvent

The QEvent class is the base class of all event classes. Event objects contain event parameters.

PySide6.QtCore.QTimerEvent

The QTimerEvent class contains parameters that describe a timer event.

PySide6.QtCore.QChildEvent

The QChildEvent class contains event parameters for child object events.

PySide6.QtCore.QDynamicPropertyChangeEvent

The QDynamicPropertyChangeEvent class contains event parameters for dynamic property change events.

PySide6.QtCore.QTimer

The QTimer class provides repetitive and single-shot timers.

PySide6.QtGui.QEnterEvent

The QEnterEvent class contains parameters that describe an enter event.

PySide6.QtGui.QInputEvent

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

PySide6.QtGui.QMouseEvent

The QMouseEvent class contains parameters that describe a mouse event.

PySide6.QtGui.QHoverEvent

The QHoverEvent class contains parameters that describe a mouse event.

PySide6.QtGui.QWheelEvent

The QWheelEvent class contains parameters that describe a wheel event.

PySide6.QtGui.QKeyEvent

The QKeyEvent class describes a key event.

PySide6.QtGui.QFocusEvent

The QFocusEvent class contains event parameters for widget focus events.

PySide6.QtGui.QPaintEvent

The QPaintEvent class contains event parameters for paint events.

PySide6.QtGui.QMoveEvent

The QMoveEvent class contains event parameters for move events.

PySide6.QtGui.QExposeEvent

The QExposeEvent class contains event parameters for expose events.

QPlatformSurfaceEvent

The QPlatformSurfaceEvent class is used to notify about native platform surface events.

PySide6.QtGui.QResizeEvent

The QResizeEvent class contains event parameters for resize events.

PySide6.QtGui.QCloseEvent

The QCloseEvent class contains parameters that describe a close event.

PySide6.QtGui.QIconDragEvent

The QIconDragEvent class indicates that a main icon drag has begun.

PySide6.QtGui.QContextMenuEvent

The QContextMenuEvent class contains parameters that describe a context menu event.

PySide6.QtGui.QInputMethodEvent

The QInputMethodEvent class provides parameters for input method events.

PySide6.QtGui.QTabletEvent

The QTabletEvent class contains parameters that describe a Tablet event.

PySide6.QtGui.QNativeGestureEvent

The QNativeGestureEvent class contains parameters that describe a gesture event.

PySide6.QtGui.QDropEvent

The QDropEvent class provides an event which is sent when a drag and drop action is completed.

PySide6.QtGui.QDragEnterEvent

The QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action enters it.

PySide6.QtGui.QDragMoveEvent

The QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress.

PySide6.QtGui.QDragLeaveEvent

The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.

PySide6.QtGui.QHelpEvent

The QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget.

PySide6.QtGui.QStatusTipEvent

The QStatusTipEvent class provides an event that is used to show messages in a status bar.

PySide6.QtGui.QWhatsThisClickedEvent

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a “What’s This?” text.

PySide6.QtGui.QActionEvent

The QActionEvent class provides an event that is generated when a QAction is added, removed, or changed.

PySide6.QtGui.QHideEvent

The QHideEvent class provides an event which is sent after a widget is hidden.

PySide6.QtGui.QShowEvent

The QShowEvent class provides an event that is sent when a widget is shown.

PySide6.QtGui.QFileOpenEvent

The QFileOpenEvent class provides an event that will be sent when there is a request to open a file or a URL.

PySide6.QtGui.QShortcutEvent

The QShortcutEvent class provides an event which is generated when the user presses a key combination.

PySide6.QtGui.QWindowStateChangeEvent

The QWindowStateChangeEvent class provides the window state before a window state change.

PySide6.QtGui.QTouchEvent

The QTouchEvent class contains parameters that describe a touch event.

PySide6.QtGui.QScrollPrepareEvent

The QScrollPrepareEvent class is sent in preparation of scrolling.

PySide6.QtGui.QScrollEvent

The QScrollEvent class is sent when scrolling.

PySide6.QtGui.QPointingDevice

The QPointingDevice class describes a device from which mouse, touch or tablet events originate.

PySide6.QtGui.QPointingDeviceUniqueId

QPointingDeviceUniqueId identifies a unique object, such as a tagged token or stylus, which is used with a pointing device.

PySide6.QtGui.QShortcut

The QShortcut class is used to create keyboard shortcuts.

PySide6.QtWidgets.QGestureEvent

The QGestureEvent class provides the description of triggered gestures.