- All Implemented Interfaces:
QtObjectInterface
,Cloneable
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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionQWheelEvent
(QPointF pos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQWheelEvent(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
(QPointF pos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orient) QWheelEvent
(QPointF pos, QPointF globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQWheelEvent(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
(QPointF pos, QPointF globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orient) QWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QWheelEvent
(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase) 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) 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) QWheelEvent
(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) -
Method Summary
Modifier and TypeMethodDescriptionprotected final int
_unused_()
SeeQWheelEvent::
_unused_ final QPoint
final Qt.MouseButtons
buttons()
clone()
Creates and returns a copy of this object.final int
delta()
Deprecated.protected final int
Kotlin property getter.final 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_) SeeQWheelEvent::
_unused_ protected final void
setAngleDelta
(QPoint angleDelta) SeeQWheelEvent::
angleD protected final void
setButtons
(Qt.MouseButton ... buttons) Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.protected final void
setButtons
(Qt.MouseButtons buttons) SeeQWheelEvent::
mouseState protected final void
setDelta
(int delta) SeeQWheelEvent::
qt4D protected final void
setGlobalPosF
(QPointF globalPosF) SeeQWheelEvent::
g protected final void
setInverted
(boolean inverted) SeeQWheelEvent::
invertedScrolling protected final void
setOrientation
(Qt.Orientation orientation) SeeQWheelEvent::
qt4O protected final void
setPhase
(int phase) SeeQWheelEvent::
ph protected final void
setPixelDelta
(QPoint pixelDelta) SeeQWheelEvent::
pixelD protected final void
SeeQWheelEvent::
p protected final void
setSource
(int source) SeeQWheelEvent::
src final Qt.MouseEventSource
source()
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, assign, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, 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
public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QWheelEvent
public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QWheelEvent
public QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase) -
QWheelEvent
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) -
QWheelEvent
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) -
QWheelEvent
public QWheelEvent(QPointF pos, QPointF globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded 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
public QWheelEvent(QPointF pos, QPointF globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orient) -
QWheelEvent
Overloaded 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
public QWheelEvent(QPointF pos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orient)
-
-
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_
See
QWheelEvent::
_unused_ -
get_unused_
Kotlin property getter. In Java use
_unused_()
instead. -
_unused_
See
QWheelEvent::
_unused_ -
setAngleDelta
See
QWheelEvent::
angleD -
setGlobalPosF
See
QWheelEvent::
g -
setInverted
See
QWheelEvent::
invertedScrolling -
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setButtons
See
QWheelEvent::
mouseState -
setPosF
See
QWheelEvent::
p -
setPhase
See
QWheelEvent::
ph -
setPixelDelta
See
QWheelEvent::
pixelD -
setDelta
See
QWheelEvent::
qt4D -
setOrientation
See
QWheelEvent::
qt4O -
setSource
See
QWheelEvent::
src -
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQInputEvent
-
angleDelta()
instead