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.
PySide2.QtCore.QAbstractEventDispatcherThe QAbstractEventDispatcher class provides an interface to manage Qt’s event queue.
PySide2.QtCore.QBasicTimerThe QBasicTimer class provides timer events for objects.
PySide2.QtCore.QEventThe QEvent class is the base class of all event classes. Event objects contain event parameters.
PySide2.QtCore.QTimerEventThe QTimerEvent class contains parameters that describe a timer event.
PySide2.QtCore.QChildEventThe QChildEvent class contains event parameters for child object events.
PySide2.QtCore.QDynamicPropertyChangeEventThe QDynamicPropertyChangeEvent class contains event parameters for dynamic property change events.
PySide2.QtCore.QTimerThe QTimer class provides repetitive and single-shot timers.
PySide2.QtGui.QEnterEventThe QEnterEvent class contains parameters that describe an enter event.
PySide2.QtGui.QInputEventThe QInputEvent class is the base class for events that describe user input.
PySide2.QtGui.QMouseEventThe QMouseEvent class contains parameters that describe a mouse event.
PySide2.QtGui.QHoverEventThe QHoverEvent class contains parameters that describe a mouse event.
PySide2.QtGui.QWheelEventThe QWheelEvent class contains parameters that describe a wheel event.
PySide2.QtGui.QKeyEventThe QKeyEvent class describes a key event.
PySide2.QtGui.QFocusEventThe QFocusEvent class contains event parameters for widget focus events.
PySide2.QtGui.QPaintEventThe QPaintEvent class contains event parameters for paint events.
PySide2.QtGui.QMoveEventThe QMoveEvent class contains event parameters for move events.
PySide2.QtGui.QExposeEventThe QExposeEvent class contains event parameters for expose events.
QPlatformSurfaceEventThe QPlatformSurfaceEvent class is used to notify about native platform surface events.
PySide2.QtGui.QResizeEventThe QResizeEvent class contains event parameters for resize events.
PySide2.QtGui.QCloseEventThe QCloseEvent class contains parameters that describe a close event.
PySide2.QtGui.QIconDragEventThe QIconDragEvent class indicates that a main icon drag has begun.
PySide2.QtGui.QContextMenuEventThe QContextMenuEvent class contains parameters that describe a context menu event.
PySide2.QtGui.QInputMethodEventThe QInputMethodEvent class provides parameters for input method events.
PySide2.QtGui.QTabletEventThe QTabletEvent class contains parameters that describe a Tablet event.
PySide2.QtGui.QNativeGestureEventThe QNativeGestureEvent class contains parameters that describe a gesture event.
PySide2.QtGui.QDropEventThe QDropEvent class provides an event which is sent when a drag and drop action is completed.
PySide2.QtGui.QDragEnterEventThe QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action enters it.
PySide2.QtGui.QDragMoveEventThe QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress.
PySide2.QtGui.QDragLeaveEventThe QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.
PySide2.QtGui.QHelpEventThe QHelpEvent class provides an event that is used to request helpful information about a particular point in a widget.
PySide2.QtGui.QStatusTipEventThe QStatusTipEvent class provides an event that is used to show messages in a status bar.
PySide2.QtGui.QWhatsThisClickedEventThe QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a “What’s This?” text.
PySide2.QtGui.QActionEventThe QActionEvent class provides an event that is generated when a QAction is added, removed, or changed.
PySide2.QtGui.QHideEventThe QHideEvent class provides an event which is sent after a widget is hidden.
PySide2.QtGui.QShowEventThe QShowEvent class provides an event that is sent when a widget is shown.
PySide2.QtGui.QFileOpenEventThe QFileOpenEvent class provides an event that will be sent when there is a request to open a file or a URL.
The QToolBarChangeEvent class provides an event that is sent whenever a the toolbar button is clicked on macOS.
PySide2.QtGui.QShortcutEventThe QShortcutEvent class provides an event which is generated when the user presses a key combination.
PySide2.QtGui.QWindowStateChangeEventThe QWindowStateChangeEvent class provides the window state before a window state change.
PySide2.QtGui.QTouchEventThe QTouchEvent class contains parameters that describe a touch event.
PySide2.QtGui.QScrollPrepareEventThe QScrollPrepareEvent class is sent in preparation of scrolling.
PySide2.QtGui.QScrollEventThe QScrollEvent class is sent when scrolling.
PySide2.QtGui.QPointingDeviceUniqueIdQPointingDeviceUniqueId identifies a unique object, such as a tagged token or stylus, which is used with a pointing device.
PySide2.QtWidgets.QGestureEventThe QGestureEvent class provides the description of triggered gestures.
PySide2.QtWidgets.QShortcutThe QShortcut class is used to create keyboard shortcuts.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.