java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QPointerEvent
io.qt.gui.QSinglePointEvent
io.qt.gui.QNativeGestureEvent
- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a gesture event
Java wrapper for Qt's class QNativeGestureEvent
-
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.gui.QSinglePointEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQNativeGestureEvent
(Qt.NativeGestureType type, QPointingDevice dev, int fingerCount, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, QPointF delta) Overloaded constructor forQNativeGestureEvent(io.qt.core.Qt.NativeGestureType, io.qt.gui.QPointingDevice, int, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, double, io.qt.core.QPointF, long)
withsequenceId = Long.MAX_VALUE
.QNativeGestureEvent
(Qt.NativeGestureType type, QPointingDevice dev, int fingerCount, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, QPointF delta, long sequenceId) QNativeGestureEvent
(Qt.NativeGestureType type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, long sequenceId, long intArgument) Deprecated.Use the other constructorprotected
protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QNativeGestureEvent other) clone()
final QPointF
delta()
final int
final Qt.NativeGestureType
protected final double
Kotlin property getter.protected final long
Kotlin property getter.final QPoint
Deprecated.Use globalPosition().toPoint()final QPointF
localPos()
Deprecated.UseQSinglePointEvent.position()
insteadfinal QPoint
pos()
Deprecated.Use position().toPoint()protected final double
final QPointF
Deprecated.UseQSinglePointEvent.globalPosition()
insteadprotected final long
protected final void
set
(QNativeGestureEvent other) Deprecated.Useassign(io.qt.gui.QNativeGestureEvent)
instead.protected final void
setRealValue
(double realValue) protected final void
setSequenceId
(long sequenceId) toString()
final double
value()
final QPointF
Deprecated.UseQSinglePointEvent.scenePosition()
insteadMethods inherited from class io.qt.gui.QSinglePointEvent
assign, button, buttons, doubleClick, exclusivePointGrabber, getDoubleClick, getExclusivePointGrabber, getInvertedScrolling, getPhaseFlag, getSourceFlag, globalPosition, invertedScrolling, isBeginEvent, isEndEvent, isUpdateEvent, 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, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QNativeGestureEvent
@Deprecated public QNativeGestureEvent(Qt.NativeGestureType type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, long sequenceId, long intArgument) Deprecated.Use the other constructor -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointingDevice dev, int fingerCount, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, QPointF delta) Overloaded constructor for
QNativeGestureEvent(io.qt.core.Qt.NativeGestureType, io.qt.gui.QPointingDevice, int, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, double, io.qt.core.QPointF, long)
withsequenceId = Long.MAX_VALUE
. -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointingDevice dev, int fingerCount, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, QPointF delta, long sequenceId) -
QNativeGestureEvent
-
QNativeGestureEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
delta
-
fingerCount
-
gestureType
-
globalPos
Deprecated.Use globalPosition().toPoint() -
localPos
Deprecated.UseQSinglePointEvent.position()
instead -
set
Deprecated.Useassign(io.qt.gui.QNativeGestureEvent)
instead. -
assign
-
pos
Deprecated.Use position().toPoint() -
screenPos
Deprecated.UseQSinglePointEvent.globalPosition()
instead -
value
-
windowPos
Deprecated.UseQSinglePointEvent.scenePosition()
instead -
clone
- Overrides:
clone
in classQSinglePointEvent
-
setRealValue
-
getRealValue
Kotlin property getter. In Java use
realValue()
instead. -
realValue
-
setSequenceId
-
getSequenceId
Kotlin property getter. In Java use
sequenceId()
instead. -
sequenceId
-
toString
- Overrides:
toString
in classQSinglePointEvent
-