QEnterEvent Class
The QEnterEvent class contains parameters that describe an enter event. More...
#include <QEnterEvent>
Inherits: QEvent.
This class was introduced in QtGui 5.0.
Public Functions
QEnterEvent(const QPointF & localPos, const QPointF & windowPos, const QPointF & screenPos) | |
QPoint | globalPos() const |
int | globalX() const |
int | globalY() const |
const QPointF & | localPos() const |
QPoint | pos() const |
const QPointF & | screenPos() const |
const QPointF & | windowPos() const |
int | x() const |
int | y() const |
- 6 public functions inherited from QEvent
Additional Inherited Members
- 1 property inherited from QEvent
- 1 static public member inherited from QEvent
- 2 protected variables inherited from QEvent
Detailed Description
The QEnterEvent class contains parameters that describe an enter event.
Enter events occur when the mouse cursor enters a window or a widget.
Member Function Documentation
QEnterEvent::QEnterEvent(const QPointF & localPos, const QPointF & windowPos, const QPointF & screenPos)
Constructs an enter event object.
The points localPos, windowPos and screenPos specify the mouse cursor's position relative to the receiving widget or item, window, and screen, respectively.