API reference - Class QGraphicsSceneWheelEvent

Notation used in Ruby API documentation

Description: Binding of QGraphicsSceneWheelEvent

Class hierarchy: QGraphicsSceneWheelEvent » QGraphicsSceneEvent » QEvent

Public constructors

new QGraphicsSceneWheelEventnew(const QEvent_Type type = QEvent::None)Constructor QGraphicsSceneWheelEvent::QGraphicsSceneWheelEvent(QEvent::Type type)

Public methods

[const]Qt_QFlags_MouseButtonbuttonsMethod QFlags<Qt::MouseButton> QGraphicsSceneWheelEvent::buttons()
voidbuttons=(const Qt_QFlags_MouseButton buttons)Method void QGraphicsSceneWheelEvent::setButtons(QFlags<Qt::MouseButton> buttons)
voidcreateEnsures the C++ object is created
[const]intdeltaMethod int QGraphicsSceneWheelEvent::delta()
voiddelta=(int delta)Method void QGraphicsSceneWheelEvent::setDelta(int delta)
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]Qt_QFlags_KeyboardModifiermodifiersMethod QFlags<Qt::KeyboardModifier> QGraphicsSceneWheelEvent::modifiers()
voidmodifiers=(const Qt_QFlags_KeyboardModifier modifiers)Method void QGraphicsSceneWheelEvent::setModifiers(QFlags<Qt::KeyboardModifier> modifiers)
[const]Qt_OrientationorientationMethod Qt::Orientation QGraphicsSceneWheelEvent::orientation()
voidorientation=(const Qt_Orientation orientation)Method void QGraphicsSceneWheelEvent::setOrientation(Qt::Orientation orientation)
[const]QPointFposMethod QPointF QGraphicsSceneWheelEvent::pos()
voidpos=(const QPointF pos)Method void QGraphicsSceneWheelEvent::setPos(const QPointF &pos)
[const]QPointFscenePosMethod QPointF QGraphicsSceneWheelEvent::scenePos()
voidscenePos=(const QPointF pos)Method void QGraphicsSceneWheelEvent::setScenePos(const QPointF &pos)
[const]QPointscreenPosMethod QPoint QGraphicsSceneWheelEvent::screenPos()
voidscreenPos=(const QPoint pos)Method void QGraphicsSceneWheelEvent::setScreenPos(const QPoint &pos)
voidsetButtons(const Qt_QFlags_MouseButton buttons)Method void QGraphicsSceneWheelEvent::setButtons(QFlags<Qt::MouseButton> buttons)
voidsetDelta(int delta)Method void QGraphicsSceneWheelEvent::setDelta(int delta)
voidsetModifiers(const Qt_QFlags_KeyboardModifier modifiers)Method void QGraphicsSceneWheelEvent::setModifiers(QFlags<Qt::KeyboardModifier> modifiers)
voidsetOrientation(const Qt_Orientation orientation)Method void QGraphicsSceneWheelEvent::setOrientation(Qt::Orientation orientation)
voidsetPos(const QPointF pos)Method void QGraphicsSceneWheelEvent::setPos(const QPointF &pos)
voidsetScenePos(const QPointF pos)Method void QGraphicsSceneWheelEvent::setScenePos(const QPointF &pos)
voidsetScreenPos(const QPoint pos)Method void QGraphicsSceneWheelEvent::setScreenPos(const QPoint &pos)

Detailed description

[const] Qt_QFlags_MouseButton buttons

Description: Method QFlags<Qt::MouseButton> QGraphicsSceneWheelEvent::buttons()

void buttons=(const Qt_QFlags_MouseButton buttons)

Description: Method void QGraphicsSceneWheelEvent::setButtons(QFlags<Qt::MouseButton> buttons)

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

[const] int delta

Description: Method int QGraphicsSceneWheelEvent::delta()

void delta=(int delta)

Description: Method void QGraphicsSceneWheelEvent::setDelta(int delta)

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[const] Qt_QFlags_KeyboardModifier modifiers

Description: Method QFlags<Qt::KeyboardModifier> QGraphicsSceneWheelEvent::modifiers()

void modifiers=(const Qt_QFlags_KeyboardModifier modifiers)

Description: Method void QGraphicsSceneWheelEvent::setModifiers(QFlags<Qt::KeyboardModifier> modifiers)

[static] new QGraphicsSceneWheelEvent new(const QEvent_Type type = QEvent::None)

Description: Constructor QGraphicsSceneWheelEvent::QGraphicsSceneWheelEvent(QEvent::Type type)

This method creates an object of class QGraphicsSceneWheelEvent.

[const] Qt_Orientation orientation

Description: Method Qt::Orientation QGraphicsSceneWheelEvent::orientation()

void orientation=(const Qt_Orientation orientation)

Description: Method void QGraphicsSceneWheelEvent::setOrientation(Qt::Orientation orientation)

[const] QPointF pos

Description: Method QPointF QGraphicsSceneWheelEvent::pos()

void pos=(const QPointF pos)

Description: Method void QGraphicsSceneWheelEvent::setPos(const QPointF &pos)

[const] QPointF scenePos

Description: Method QPointF QGraphicsSceneWheelEvent::scenePos()

void scenePos=(const QPointF pos)

Description: Method void QGraphicsSceneWheelEvent::setScenePos(const QPointF &pos)

[const] QPoint screenPos

Description: Method QPoint QGraphicsSceneWheelEvent::screenPos()

void screenPos=(const QPoint pos)

Description: Method void QGraphicsSceneWheelEvent::setScreenPos(const QPoint &pos)

void setButtons(const Qt_QFlags_MouseButton buttons)

Description: Method void QGraphicsSceneWheelEvent::setButtons(QFlags<Qt::MouseButton> buttons)

void setDelta(int delta)

Description: Method void QGraphicsSceneWheelEvent::setDelta(int delta)

void setModifiers(const Qt_QFlags_KeyboardModifier modifiers)

Description: Method void QGraphicsSceneWheelEvent::setModifiers(QFlags<Qt::KeyboardModifier> modifiers)

void setOrientation(const Qt_Orientation orientation)

Description: Method void QGraphicsSceneWheelEvent::setOrientation(Qt::Orientation orientation)

void setPos(const QPointF pos)

Description: Method void QGraphicsSceneWheelEvent::setPos(const QPointF &pos)

void setScenePos(const QPointF pos)

Description: Method void QGraphicsSceneWheelEvent::setScenePos(const QPointF &pos)

void setScreenPos(const QPoint pos)

Description: Method void QGraphicsSceneWheelEvent::setScreenPos(const QPoint &pos)