QEnterEvent Class
The QEnterEvent class contains parameters that describe an enter event. More...
Header: | #include <QEnterEvent> |
qmake: | QT += gui |
Since: | Qt 5.0 |
Inherits: | QEvent. |
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
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.
QPoint QEnterEvent::globalPos() const
int QEnterEvent::globalX() const
int QEnterEvent::globalY() const
const QPointF & QEnterEvent::localPos() const
QPoint QEnterEvent::pos() const
const QPointF & QEnterEvent::screenPos() const
const QPointF & QEnterEvent::windowPos() const
int QEnterEvent::x() const
int QEnterEvent::y() const
© 2015 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.