java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.widgets.QGraphicsSceneEvent
io.qt.widgets.QGraphicsSceneWheelEvent
- All Implemented Interfaces:
QtObjectInterface
public class QGraphicsSceneWheelEvent extends QGraphicsSceneEvent
Wheel events in the graphics view framework
Java wrapper for Qt class QGraphicsSceneWheelEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QGraphicsSceneWheelEvent()
Overloaded constructor forQGraphicsSceneWheelEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.QGraphicsSceneWheelEvent(QEvent.Type type)
protected
QGraphicsSceneWheelEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description Qt.MouseButtons
buttons()
int
delta()
Qt.KeyboardModifiers
modifiers()
Qt.Orientation
orientation()
QPointF
pos()
QPointF
scenePos()
QPoint
screenPos()
void
setButtons(Qt.MouseButton... buttons)
Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.void
setButtons(Qt.MouseButtons buttons)
void
setDelta(int delta)
void
setModifiers(Qt.KeyboardModifier... modifiers)
Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.void
setModifiers(Qt.KeyboardModifiers modifiers)
void
setOrientation(Qt.Orientation orientation)
void
setPos(QPointF pos)
void
setScenePos(QPointF pos)
void
setScreenPos(QPoint pos)
String
toString()
Methods inherited from class io.qt.core.QEvent
accept, clone, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
-
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
-