java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.widgets.QGraphicsSceneEvent
io.qt.widgets.QGraphicsSceneWheelEvent
- All Implemented Interfaces:
QtObjectInterface
Wheel events in the graphics view framework
Java wrapper for Qt's class QGraphicsSceneWheelEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQGraphicsSceneWheelEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.MouseButtons
buttons()
final int
delta()
final boolean
final Qt.KeyboardModifiers
final Qt.Orientation
final Qt.ScrollPhase
phase()
final QPoint
final QPointF
pos()
final QPointF
scenePos()
final QPoint
final void
setButtons
(Qt.MouseButton... buttons) Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.final void
setButtons
(Qt.MouseButtons buttons) final void
setDelta
(int delta) final void
setInverted
(boolean inverted) final void
setModifiers
(Qt.KeyboardModifier... modifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers modifiers) final void
setOrientation
(Qt.Orientation orientation) final void
setPhase
(Qt.ScrollPhase scrollPhase) final void
setPixelDelta
(QPoint delta) final void
final void
setScenePos
(QPointF pos) final void
setScreenPos
(QPoint pos) toString()
Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setTimestamp, setWidget, timestamp, widget
Methods inherited from class io.qt.core.QEvent
accept, clone, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QGraphicsSceneWheelEvent
public QGraphicsSceneWheelEvent()Overloaded constructor for
QGraphicsSceneWheelEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
. -
QGraphicsSceneWheelEvent
-
QGraphicsSceneWheelEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
buttons
-
delta
-
isInverted
-
modifiers
-
orientation
-
phase
-
pixelDelta
-
pos
-
scenePos
-
screenPos
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setButtons
-
setDelta
-
setInverted
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
setOrientation
-
setPhase
-
setPixelDelta
-
setPos
-
setScenePos
-
setScreenPos
-
toString
- Overrides:
toString
in classQGraphicsSceneEvent
-