Obsolete Members for QEventPoint
The following members of class QEventPoint are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated in 6.0) QPointF | lastNormalizedPos() const |
(deprecated in 6.0) QPointF | normalizedPos() const |
(deprecated in 6.0) QPointF | pos() const |
(deprecated in 6.0) QPointF | startNormalizedPos() const |
Member Function Documentation
[deprecated in 6.0]
QPointF QEventPoint::lastNormalizedPos() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use globalLastPosition() instead.
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.
See also normalizedPosition() and globalPressPosition().
[deprecated in 6.0]
QPointF QEventPoint::normalizedPos() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use normalizedPosition() instead.
[deprecated in 6.0]
QPointF QEventPoint::pos() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use position() instead.
Returns the position of this point, relative to the widget or item that received the event.
[deprecated in 6.0]
QPointF QEventPoint::startNormalizedPos() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use globalPressPosition() instead.
Returns the normalized press position of this point.
© 2024 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.