Obsolete Members for QWheelEvent

The following members of class QWheelEvent are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted)
(obsolete) QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source)
(obsolete) QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase)
(obsolete) QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
(obsolete) QWheelEvent(const QPointF &pos, const QPointF &globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical)
(obsolete) QWheelEvent(const QPointF &pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical)
(obsolete) int delta() const
(obsolete) QPoint globalPos() const
(obsolete) const QPointF &globalPosF() const
(obsolete) int globalX() const
(obsolete) int globalY() const
(obsolete) Qt::Orientation orientation() const
(obsolete) QPoint pos() const
(obsolete) const QPointF &posF() const
(obsolete) int x() const
(obsolete) int y() const

Member Function Documentation

QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This constructor has been deprecated.

QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This constructor has been deprecated.

QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This constructor has been deprecated.

QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This constructor has been deprecated.

QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF &globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This constructor has been deprecated.

QWheelEvent::QWheelEvent(const QPointF &pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This constructor has been deprecated.

int QWheelEvent::delta() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use pixelDelta() or angleDelta() instead.

QPoint QWheelEvent::globalPos() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use globalPosition() instead.

const QPointF &QWheelEvent::globalPosF() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use globalPosition() instead.

int QWheelEvent::globalX() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use globalPosition() instead.

int QWheelEvent::globalY() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use globalPosition() instead.

Qt::Orientation QWheelEvent::orientation() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use angleDelta() instead.

QPoint QWheelEvent::pos() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use position() instead.

const QPointF &QWheelEvent::posF() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use position() instead.

int QWheelEvent::x() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use position() instead.

int QWheelEvent::y() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This function has been deprecated, use position() instead.

© 2023 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.