- 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
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQWheelEvent
(QPointF pos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orient) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, QPointF globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, QPointF globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orient) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifier... modifiers) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, Qt.MouseEventSource source) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, Qt.MouseEventSource source, boolean inverted) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted) 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.QWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted, Qt.MouseEventSource source) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final int
_unused_()
final QPoint
final Qt.MouseButtons
buttons()
final int
delta()
Deprecated.UseangleDelta()
insteadfinal QPoint
Deprecated.UseglobalPosition()
insteadfinal QPointF
Deprecated.UseglobalPosition()
insteadfinal QPointF
final int
globalX()
Deprecated.UseglobalPosition()
insteadfinal int
globalY()
Deprecated.UseglobalPosition()
insteadfinal boolean
inverted()
final Qt.Orientation
Deprecated.UseangleDelta()
insteadfinal Qt.ScrollPhase
phase()
final QPoint
final QPoint
pos()
Deprecated.Useposition()
insteadfinal QPointF
posF()
Deprecated.Useposition()
insteadfinal QPointF
position()
protected final void
set_unused_
(int _unused_) protected final void
setAngleDelta
(QPoint angleDelta) protected final void
setButtons
(Qt.MouseButton... buttons) Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.protected final void
setButtons
(Qt.MouseButtons buttons) protected final void
setDelta
(int delta) protected final void
setGlobalPosF
(QPointF globalPosF) protected final void
setInverted
(boolean inverted) protected final void
setOrientation
(Qt.Orientation orientation) protected final void
setPhase
(int phase) protected final void
setPixelDelta
(QPoint pixelDelta) protected final void
protected final void
setSource
(int source) final Qt.MouseEventSource
source()
toString()
final int
x()
Deprecated.Useposition()
insteadfinal int
y()
Deprecated.Useposition()
insteadMethods inherited from class io.qt.gui.QInputEvent
modifiers, setModifiers, setModifiers, setTimestamp, timestamp
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QWheelEvent
public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, boolean inverted) 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
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) -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifier... modifiers) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, Qt.MouseEventSource source) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, Qt.MouseEventSource source, boolean inverted) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, QPointF globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedOverloaded constructor for
QWheelEvent(io.qt.core.QPointF, io.qt.core.QPointF, int, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.Orientation)
withorient = io.qt.core.Qt.Orientation.Vertical
. -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, QPointF globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orient) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedOverloaded constructor for
QWheelEvent(io.qt.core.QPointF, int, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.Orientation)
withorient = io.qt.core.Qt.Orientation.Vertical
. -
QWheelEvent
@Deprecated public QWheelEvent(QPointF pos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orient) Deprecated.Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted -
QWheelEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
angleDelta
-
buttons
-
delta
Deprecated.UseangleDelta()
instead -
globalPos
Deprecated.UseglobalPosition()
instead -
globalPosF
Deprecated.UseglobalPosition()
instead -
globalPosition
-
globalX
Deprecated.UseglobalPosition()
instead -
globalY
Deprecated.UseglobalPosition()
instead -
inverted
-
orientation
Deprecated.UseangleDelta()
instead -
phase
-
pixelDelta
-
pos
Deprecated.Useposition()
instead -
posF
Deprecated.Useposition()
instead -
position
-
source
-
x
Deprecated.Useposition()
instead -
y
Deprecated.Useposition()
instead -
set_unused_
-
_unused_
-
setAngleDelta
-
setGlobalPosF
-
setInverted
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setButtons
-
setPosF
-
setPhase
-
setPixelDelta
-
setDelta
-
setOrientation
-
setSource
-
toString
- Overrides:
toString
in classQInputEvent
-