java.lang.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 Qt.KeyboardModifiers
final Qt.Orientation
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
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
final void
setScenePos
(QPointF pos) final void
setScreenPos
(QPoint pos) toString()
Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setWidget, widget
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, 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
-
modifiers
-
orientation
-
pos
-
scenePos
-
screenPos
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setButtons
-
setDelta
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
setOrientation
-
setPos
-
setScenePos
-
setScreenPos
-
toString
- Overrides:
toString
in classQGraphicsSceneEvent
-