KLayout Manual: Main Index » Class Index » API reference - Class QGraphicsSceneWheelEvent

API reference - Class QGraphicsSceneWheelEvent

Notation used in Ruby API documentation

Description: Binding of QGraphicsSceneWheelEvent

Class hierarchy: QGraphicsSceneWheelEvent » QGraphicsSceneEvent » QEvent

Public constructors

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

Public methods

[const]intbuttonsMethod QFlags<enum Qt::MouseButton> QGraphicsSceneWheelEvent::buttons()
voidbuttons=(int buttons)Method void QGraphicsSceneWheelEvent::setButtons(QFlags<enum 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]intmodifiersMethod QFlags<enum Qt::KeyboardModifier> QGraphicsSceneWheelEvent::modifiers()
voidmodifiers=(int modifiers)Method void QGraphicsSceneWheelEvent::setModifiers(QFlags<enum 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(int buttons)Method void QGraphicsSceneWheelEvent::setButtons(QFlags<enum Qt::MouseButton> buttons)
voidsetDelta(int delta)Method void QGraphicsSceneWheelEvent::setDelta(int delta)
voidsetModifiers(int modifiers)Method void QGraphicsSceneWheelEvent::setModifiers(QFlags<enum 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] int buttons

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

void buttons=(int buttons)

Description: Method void QGraphicsSceneWheelEvent::setButtons(QFlags<enum 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] int modifiers

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

void modifiers=(int modifiers)

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

[static] new QGraphicsSceneWheelEvent new

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

This method creates an object of class QGraphicsSceneWheelEvent.

[static] new QGraphicsSceneWheelEvent new(const QEvent_Type type)

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(int buttons)

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

void setDelta(int delta)

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

void setModifiers(int modifiers)

Description: Method void QGraphicsSceneWheelEvent::setModifiers(QFlags<enum 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)