Event Classes

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

For more information see the Event System page.

QAbstractEventDispatcher

Interface to manage Qt's event queue

QBasicTimer

Timer events for objects

QChildEvent

Contains event parameters for child object events

QDynamicPropertyChangeEvent

Contains event parameters for dynamic property change events

QEvent

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

QTimerEvent

Contains parameters that describe a timer event

QTimer

Repetitive and single-shot timers

QActionEvent

Event that is generated when a QAction is added, removed, or changed

QCloseEvent

Contains parameters that describe a close event

QContextMenuEvent

Contains parameters that describe a context menu event

QDragEnterEvent

Event which is sent to a widget when a drag and drop action enters it

QDragLeaveEvent

Event that is sent to a widget when a drag and drop action leaves it

QDragMoveEvent

Event which is sent while a drag and drop action is in progress

QDropEvent

Event which is sent when a drag and drop action is completed

QEnterEvent

Contains parameters that describe an enter event

QExposeEvent

Contains event parameters for expose events

QFileOpenEvent

Event that will be sent when there is a request to open a file or a URL

QFocusEvent

Contains event parameters for widget focus events

QHelpEvent

Event that is used to request helpful information about a particular point in a widget

QHideEvent

Event which is sent after a widget is hidden

QHoverEvent

Contains parameters that describe a mouse event

QIconDragEvent

Indicates that a main icon drag has begun

QInputEvent

The base class for events that describe user input

QInputMethodEvent

Parameters for input method events

QKeyEvent

Describes a key event

QMouseEvent

Contains parameters that describe a mouse event

QMoveEvent

Contains event parameters for move events

QNativeGestureEvent

Contains parameters that describe a gesture event

QPaintEvent

Contains event parameters for paint events

QPlatformSurfaceEvent

Used to notify about native platform surface events

QResizeEvent

Contains event parameters for resize events

QScrollEvent

Sent when scrolling

QScrollPrepareEvent

Sent in preparation of scrolling

QShortcutEvent

Event which is generated when the user presses a key combination

QShowEvent

Event that is sent when a widget is shown

QStatusTipEvent

Event that is used to show messages in a status bar

QTabletEvent

Contains parameters that describe a Tablet event

QTouchEvent

Contains parameters that describe a touch event

QWhatsThisClickedEvent

Event that can be used to handle hyperlinks in a "What's This?" text

QWheelEvent

Contains parameters that describe a wheel event

QWindowStateChangeEvent

The window state before a window state change

QGestureEvent

The description of triggered gestures

QShortcut

Used to create keyboard shortcuts