java.lang.Object
io.qt.internal.NativeUtility.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 TypeMethodDescriptionclone()
final QPointF
delta()
final int
final Qt.NativeGestureType
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) 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
button, buttons, doubleClick, exclusivePointGrabber, globalPosition, invertedScrolling, isBeginEvent, isEndEvent, isUpdateEvent, phaseFlag, position, scenePosition, set, setButton, setButtons, setButtons, setDoubleClick, setExclusivePointGrabber, setInvertedScrolling, setPhaseFlag, setSourceFlag, sourceFlag
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, 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
-
pos
Deprecated.Use position().toPoint() -
screenPos
Deprecated.UseQSinglePointEvent.globalPosition()
instead -
value
-
windowPos
Deprecated.UseQSinglePointEvent.scenePosition()
instead -
clone
- Overrides:
clone
in classQSinglePointEvent
-
setRealValue
-
realValue
-
setSequenceId
-
sequenceId
-
toString
- Overrides:
toString
in classQSinglePointEvent
-