Obsolete Members for QEnterEvent
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
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりにglobalPosition()を使用してください。
イベント発生時点でのマウスカーソルのグローバルな位置を返します。
[deprecated in 6.0] int QEnterEvent::globalX() const
この関数はバージョン 6.0 以降で非推奨となっています。新しいコードでの使用は強くお勧めしません。
代わりに `globalPosition()` および `x()` を使用してください。
イベント発生時点における、マウスカーソルの X 軸上のグローバルな位置を返します。
[deprecated in 6.0] int QEnterEvent::globalY() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりに `globalPosition()` や `y()` を使用してください。
イベント発生時点における、マウスカーソルの Y 軸上のグローバル位置を返します。
[deprecated in 6.0] QPointF QEnterEvent::localPos() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりにposition()を使用してください。
受信ウィジェットに対するマウスカーソルの位置を返します。
[deprecated in 6.0] QPoint QEnterEvent::pos() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりに `position().toPoint()` を使用してください。
受け取り側のウィジェットを基準としたマウスカーソルの位置を返します。
[deprecated in 6.0] QPointF QEnterEvent::screenPos() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強くお勧めしません。
代わりに `globalPosition()` を使用してください。
受信画面に対するマウスカーソルの位置を返します。
[deprecated in 6.0] QPointF QEnterEvent::windowPos() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強くお勧めしません。
代わりにscenePosition() を使用してください。
受信ウィンドウに対するマウスカーソルの位置を返します。
[deprecated in 6.0] int QEnterEvent::x() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりに `position().x()` を使用してください。
受信ウィジェットを基準としたマウスカーソルの x 座標を返します。
[deprecated in 6.0] int QEnterEvent::y() const
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりに `position().y()` を使用してください。
受け取り側のウィジェットを基準とした、マウスカーソルの y 座標を返します。
© 2026 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.