以下成員源於類 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 () 代替。
返迴鼠標光標 X 軸的全局位置 當事件發生時 .
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPosition (). y () 代替。
返迴鼠標光標 Y 軸的全局位置 當事件發生時 .
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position () 代替。
返迴相對接收 Widget 的鼠標光標位置。
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().toPoint() instead.
返迴相對接收 Widget 的鼠標光標位置。
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.
使用 scenePosition () 代替。
返迴相對接收窗口的鼠標光標位置。
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().x() instead.
返迴相對接收 Widget 的鼠標光標 X 位置。
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position ().y() instead.
返迴相對接收 Widget 的鼠標光標 Y 位置。