- 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
-
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) QWheelEvent
(QPointF pos, QPoint globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted) QWheelEvent
(QPointF pos, QPoint 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.QPoint, 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, QPoint globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source, QPointingDevice device) QWheelEvent
(QPoint pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted) QWheelEvent
(QPoint 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.QPoint, 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
(QPoint pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source, QPointingDevice device) QWheelEvent
(QPoint pos, QPoint globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted) QWheelEvent
(QPoint pos, QPoint 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.QPoint, io.qt.core.QPoint, 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
(QPoint pos, QPoint 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 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, 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) - Parameters:
pos
-globalPos
-pixelDelta
-angleDelta
-buttons
-modifiers
-phase
-inverted
-source
-device
-
-
QWheelEvent
- Parameters:
arg__1
-
-
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(QPoint 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.QPoint, 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(QPoint 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(QPoint pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source, QPointingDevice device) -
QWheelEvent
public QWheelEvent(QPointF pos, QPoint 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.QPoint, 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, QPoint 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, QPoint globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source, QPointingDevice device) -
QWheelEvent
public QWheelEvent(QPoint pos, QPoint 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.QPoint, io.qt.core.QPoint, 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(QPoint pos, QPoint globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted) Overloaded constructor for
QWheelEvent(io.qt.core.QPoint, io.qt.core.QPoint, 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)
with:
source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
device = io.qt.gui.QPointingDevice.primaryPointingDevice()
-
QWheelEvent
public QWheelEvent(QPoint pos, QPoint globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source, QPointingDevice device)
-
-
Method Details
-
angleDelta
- Returns:
-
hasPixelDelta
See
QWheelEvent::
hasPixelDelta()const - Returns:
-
inverted
- Returns:
-
isInverted
See
QWheelEvent::
isInverted()const - Returns:
-
assign
See
QWheelEvent::
operator=(QWheelEvent) - Parameters:
other
-
-
phase
- Returns:
-
pixelDelta
- Returns:
-
source
See
QWheelEvent::
source()const - Returns:
-
clone
- Overrides:
clone
in classQSinglePointEvent
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
isBeginEvent
See
QPointerEvent::
isBeginEvent()const - Overrides:
isBeginEvent
in classQSinglePointEvent
- Returns:
-
isEndEvent
See
QPointerEvent::
isEndEvent()const - Overrides:
isEndEvent
in classQSinglePointEvent
- Returns:
-
isUpdateEvent
See
QPointerEvent::
isUpdateEvent()const - Overrides:
isUpdateEvent
in classQSinglePointEvent
- Returns:
-
set
Deprecated.Useassign(io.qt.gui.QWheelEvent)
instead.
-
assign(io.qt.gui.QWheelEvent)
instead.