- 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 angleD)
protected void
setButtons(Qt.MouseButton... mouseState)
Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.protected void
setButtons(Qt.MouseButtons mouseState)
protected void
setDelta(int qt4D)
protected void
setGlobalPosF(QPointF g)
protected void
setInverted(boolean invertedScrolling)
protected void
setOrientation(Qt.Orientation qt4O)
protected void
setPhase(int ph)
protected void
setPixelDelta(QPoint pixelD)
protected void
setPosF(QPointF p)
protected void
setSource(int src)
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, setAccepted, setT, spontaneous, t, 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 -
setOrientation
-
setInverted
-
setGlobalPosF
-
setPixelDelta
-
set_unused_
-
_unused_
-
setDelta
-
setPosF
-
setAngleDelta
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setButtons
-
setSource
-
setPhase
-
toString
- Overrides:
toString
in classQInputEvent
-