以下成员源于类 QEnterEvent 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated (6.0))
QPoint
|
globalPos () const |
(deprecated (6.0))
int
|
globalX () const |
(deprecated (6.0))
int
|
globalY () const |
(deprecated (6.0))
QPointF
|
localPos () const |
(deprecated (6.0))
QPoint
|
pos () const |
(deprecated (6.0))
QPointF
|
screenPos () const |
(deprecated (6.0))
QPointF
|
windowPos () const |
(deprecated (6.0))
int
|
x () const |
(deprecated (6.0))
int
|
y () const |
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition () 代替。
返回鼠标光标的全局位置 当事件发生时 .
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition (). x () 代替。
Returns the global position on the X-axis of the mouse cursor 当事件发生时 .
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition (). y () 代替。
Returns the global position on the Y-axis of the mouse cursor 当事件发生时 .
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position () 代替。
Returns the mouse cursor's position relative to the receiving widget.
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().toPoint() instead.
Returns the position of the mouse cursor relative to the receiving widget.
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition () 代替。
Returns the position of the mouse cursor relative to the receiving screen.
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 scenePosition () 代替。
Returns the position of the mouse cursor relative to the receiving window.
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().x() instead.
Returns the x position of the mouse cursor relative to the receiving widget.
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().y() instead.
Returns the y position of the mouse cursor relative to the receiving widget.