- All Implemented Interfaces:
QtObjectInterface
public class QWheelEvent extends QInputEvent
Contains parameters that describe a wheel event
Java wrapper for Qt class QWheelEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QWheelEvent(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
QWheelEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description protected int
_unused_()
QPoint
angleDelta()
Qt.MouseButtons
buttons()
int
delta()
Deprecated.UseangleDelta()
insteadQPoint
globalPos()
Deprecated.UseglobalPosition()
insteadQPointF
globalPosF()
Deprecated.UseglobalPosition()
insteadQPointF
globalPosition()
int
globalX()
Deprecated.UseglobalPosition()
insteadint
globalY()
Deprecated.UseglobalPosition()
insteadboolean
inverted()
Qt.Orientation
orientation()
Deprecated.UseangleDelta()
insteadQt.ScrollPhase
phase()
QPoint
pixelDelta()
QPoint
pos()
Deprecated.Useposition()
insteadQPointF
posF()
Deprecated.Useposition()
insteadQPointF
position()
protected void
set_unused_(int _unused_)
protected void
setAngleDelta(QPoint angleDelta)
protected void
setButtons(Qt.MouseButton... buttons)
Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.protected void
setButtons(Qt.MouseButtons buttons)
protected void
setDelta(int delta)
protected void
setGlobalPosF(QPointF globalPosF)
protected void
setInverted(boolean inverted)
protected void
setOrientation(Qt.Orientation orientation)
protected void
setPhase(int phase)
protected void
setPixelDelta(QPoint pixelDelta)
protected void
setPosF(QPointF posF)
protected void
setSource(int source)
Qt.MouseEventSource
source()
String
toString()
int
x()
Deprecated.Useposition()
insteadint
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
-
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
-