以下成员源于类 QEventPoint 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated (6.0))
QPointF
|
lastNormalizedPos () const |
(deprecated (6.0))
QPointF
|
normalizedPos () const |
(deprecated (6.0))
QPointF
|
pos () const |
(deprecated (6.0))
QPointF
|
startNormalizedPos () const |
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalLastPosition () 代替。
Returns the normalized position of this point from the previous press or move event.
The coordinates are normalized to
QInputDevice::availableVirtualGeometry
(), i.e.
(0, 0)
is the top-left corner and
(1, 1)
is the bottom-right corner.
另请参阅 normalizedPosition () 和 globalPressPosition ().
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 normalizedPosition () 代替。
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 position () 代替。
Returns the position of this point, relative to the widget or item that received the event.
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 globalPressPosition () 代替。
Returns the normalized press position of this point.