java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QPointerEvent
io.qt.gui.QSinglePointEvent
io.qt.gui.QWheelEvent
- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a wheel event
Java wrapper for Qt's class QWheelEvent
-
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
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted) QWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source) Overloaded constructor forQWheelEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.ScrollPhase, boolean, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source, QPointingDevice device) protected
QWheelEvent
(QWheelEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QPoint
protected final void
assign
(QWheelEvent other) clone()
final QPoint
Kotlin property getter.final boolean
Kotlin property getter.final Qt.ScrollPhase
getPhase()
Kotlin property getter.final QPoint
Kotlin property getter.final boolean
final boolean
inverted()
boolean
boolean
final boolean
boolean
final Qt.ScrollPhase
phase()
final QPoint
protected final void
set
(QWheelEvent other) Deprecated.final Qt.MouseEventSource
source()
toString()
Methods inherited from class io.qt.gui.QSinglePointEvent
assign, button, buttons, doubleClick, exclusivePointGrabber, getDoubleClick, getExclusivePointGrabber, getInvertedScrolling, getPhaseFlag, getSourceFlag, globalPosition, invertedScrolling, phaseFlag, position, scenePosition, setButton, setButtons, setButtons, setDoubleClick, setExclusivePointGrabber, setInvertedScrolling, setPhaseFlag, setSourceFlag, sourceFlag
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, assign, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
assign, device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QWheelEvent
public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source) Overloaded constructor for
QWheelEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.ScrollPhase, boolean, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QWheelEvent
public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted) with:
source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
device = io.qt.gui.QPointingDevice.primaryPointingDevice()
-
QWheelEvent
public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source, QPointingDevice device) -
QWheelEvent
-
QWheelEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
getAngleDelta
Kotlin property getter. In Java use
angleDelta()
instead. -
angleDelta
-
hasPixelDelta
-
getInverted
Kotlin property getter. In Java use
inverted()
instead. -
inverted
-
isInverted
-
set
Deprecated.Useassign(io.qt.gui.QWheelEvent)
instead. -
assign
-
getPhase
Kotlin property getter. In Java use
phase()
instead. -
phase
-
getPixelDelta
Kotlin property getter. In Java use
pixelDelta()
instead. -
pixelDelta
-
source
-
clone
- Overrides:
clone
in classQSinglePointEvent
-
isBeginEvent
- Overrides:
isBeginEvent
in classQSinglePointEvent
-
isEndEvent
- Overrides:
isEndEvent
in classQSinglePointEvent
-
isUpdateEvent
- Overrides:
isUpdateEvent
in classQSinglePointEvent
-
toString
- Overrides:
toString
in classQSinglePointEvent
-
assign(io.qt.gui.QWheelEvent)
instead.