- All Implemented Interfaces:
QtObjectInterface
public class QWheelEvent extends QSinglePointEvent
Contains parameters that describe a wheel event
Java wrapper for Qt class QWheelEvent
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description QPoint
angleDelta()
QWheelEvent
clone()
boolean
hasPixelDelta()
boolean
inverted()
boolean
isBeginEvent()
boolean
isEndEvent()
boolean
isInverted()
boolean
isUpdateEvent()
Qt.ScrollPhase
phase()
QPoint
pixelDelta()
protected void
set(QWheelEvent other)
Qt.MouseEventSource
source()
String
toString()
Methods inherited from class io.qt.gui.QSinglePointEvent
button, buttons, doubleClick, exclusivePointGrabber, globalPosition, invertedScrolling, phaseFlag, position, scenePosition, set, setButton, setButtons, setButtons, setDoubleClick, setExclusivePointGrabber, setInvertedScrolling, setPhaseFlag, setSourceFlag, sourceFlag
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, type
-
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
-
angleDelta
-
hasPixelDelta
-
inverted
-
isInverted
-
set
-
phase
-
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
-