CopperSpice API
1.9.2
|
The QEnterEvent class contains parameters that describe an enter event. More...
Public Methods | |
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 |
Public Methods inherited from QEvent | |
QEvent (const QEvent &other) | |
QEvent (Type type) | |
virtual | ~QEvent () |
void | accept () |
void | ignore () |
bool | isAccepted () const |
QEvent & | operator= (const QEvent &other) |
void | setAccepted (bool accepted) |
bool | spontaneous () const |
Type | type () const |
Additional Inherited Members | |
Public Types inherited from QEvent | |
enum | Type |
Static Public Methods inherited from QEvent | |
static int | registerEventType (int hint=-1) |
The QEnterEvent class contains parameters that describe an enter event. Enter events occur when the mouse cursor enters a window or a widget.
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.
|
inline |
Returns the global position of the widget at the time of the event.
|
inline |
Returns the global position on the X-axis of the mouse cursor relative to the widget.
|
inline |
Returns the global position on the Y-axis of the mouse cursor relative to the widget.
|
inline |
Returns the mouse cursor's position relative to the receiving widget.
|
inline |
Returns the position of the mouse cursor in global screen coordinates.
|
inline |
Returns the position of the mouse cursor relative to the receiving screen.
|
inline |
Returns the position of the mouse cursor relative to the receiving window.
|
inline |
Returns the x position of the mouse cursor relative to the receiving widget.
|
inline |
Returns the y position of the mouse cursor relative to the receiving widget.