Qt Reference Documentation

Event Classes

These classes are used to create and handle events.

For more information see the Object model and Signals and Slots.

QAbstractEventDispatcher

Interface to manage Qt's event queue

QAccessibleEvent

Used to query addition accessibility information about complex widgets

QActionEvent

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

QBasicTimer

Timer events for objects

QChildEvent

Contains event parameters for child object events

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

QDynamicPropertyChangeEvent

Contains event parameters for dynamic property change events

QEvent

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

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

QGestureEvent

The description of triggered gestures

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

QPaintEvent

Contains event parameters for paint events

QResizeEvent

Contains event parameters for resize events

QShortcut

Used to create keyboard shortcuts

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

QTimer

Repetitive and single-shot timers

QTimerEvent

Contains parameters that describe a timer 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