- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a wheel event
Java wrapper for Qt 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) -
Method Summary
Modifier and TypeMethodDescriptionfinal QPoint
protected final void
assign
(QWheelEvent other) SeeQWheelEvent::
operator=(QWheelEvent) 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
SeeQWheelEvent::
hasPixelDelta()const final boolean
inverted()
boolean
SeeQPointerEvent::
isBeginEvent()const boolean
SeeQPointerEvent::
isEndEvent()const final boolean
SeeQWheelEvent::
isInverted()const boolean
SeeQPointerEvent::
isUpdateEvent()const final Qt.ScrollPhase
phase()
final QPoint
protected final void
set
(QWheelEvent other) Deprecated.final Qt.MouseEventSource
source()
SeeQWheelEvent::
source()const 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, toString, 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, QPointingDevice device) -
QWheelEvent
-
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()
-
-
Method Details
-
angleDelta
-
hasPixelDelta
See
QWheelEvent::
hasPixelDelta()const -
inverted
-
isInverted
See
QWheelEvent::
isInverted()const -
assign
See
QWheelEvent::
operator=(QWheelEvent) -
phase
-
pixelDelta
-
source
See
QWheelEvent::
source()const -
clone
- Overrides:
clone
in classQSinglePointEvent
-
isBeginEvent
See
QPointerEvent::
isBeginEvent()const - Overrides:
isBeginEvent
in classQSinglePointEvent
-
isEndEvent
See
QPointerEvent::
isEndEvent()const - Overrides:
isEndEvent
in classQSinglePointEvent
-
isUpdateEvent
See
QPointerEvent::
isUpdateEvent()const - Overrides:
isUpdateEvent
in classQSinglePointEvent
-
getAngleDelta
Kotlin property getter. In Java use
angleDelta()
instead. -
getInverted
Kotlin property getter. In Java use
inverted()
instead. -
set
Deprecated.Useassign(io.qt.gui.QWheelEvent)
instead. -
getPhase
Kotlin property getter. In Java use
phase()
instead. -
getPixelDelta
Kotlin property getter. In Java use
pixelDelta()
instead.
-
assign(io.qt.gui.QWheelEvent)
instead.