以下成員源於類 QEnterEvent 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(deprecated in 6.0)
QPoint
|
globalPos () const |
(deprecated in 6.0)
int
|
globalX () const |
(deprecated in 6.0)
int
|
globalY () const |
(deprecated in 6.0)
QPointF
|
localPos () const |
(deprecated in 6.0)
QPoint
|
pos () const |
(deprecated in 6.0)
QPointF
|
screenPos () const |
(deprecated in 6.0)
QPointF
|
windowPos () const |
(deprecated in 6.0)
int
|
x () const |
(deprecated in 6.0)
int
|
y () const |
[deprecated in 6.0]
QPoint
QEnterEvent::
globalPos
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition () 代替。
返迴鼠標光標的全局位置 當事件發生時 .
[deprecated in 6.0]
int
QEnterEvent::
globalX
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition (). x () 代替。
返迴鼠標光標 X 軸的全局位置 當事件發生時 .
[deprecated in 6.0]
int
QEnterEvent::
globalY
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition (). y () 代替。
返迴鼠標光標 Y 軸的全局位置 當事件發生時 .
[deprecated in 6.0]
QPointF
QEnterEvent::
localPos
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position () 代替。
返迴相對接收 Widget 的鼠標光標位置。
[deprecated in 6.0]
QPoint
QEnterEvent::
pos
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().toPoint() instead.
返迴相對接收 Widget 的鼠標光標位置。
[deprecated in 6.0]
QPointF
QEnterEvent::
screenPos
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition () 代替。
返迴相對接收屏幕的鼠標光標位置。
[deprecated in 6.0]
QPointF
QEnterEvent::
windowPos
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 scenePosition () 代替。
返迴相對接收窗口的鼠標光標位置。
[deprecated in 6.0]
int
QEnterEvent::
x
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().x() instead.
返迴相對接收 Widget 的鼠標光標 X 位置。
[deprecated in 6.0]
int
QEnterEvent::
y
() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().y() instead.
返迴相對接收 Widget 的鼠標光標 Y 位置。