|  | Home · Overviews · Examples

# QHoverEvent Class Reference
[com.trolltech.qt.gui module]

The `QHoverEvent` class contains parameters that describe a mouse event. More...

Inherits `QEvent`.

## Detailed Description

The `QHoverEvent` class contains parameters that describe a mouse event.

Mouse events occur when a mouse cursor is moved into, out of, or within a widget, and if the widget has the Qt::WA_Hover attribute.

The function `pos` gives the current cursor position, while `oldPos` gives the old mouse position.