java.lang.Object
io.qt.internal.QtJambiObject
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
public class QNativeGestureEvent extends QSinglePointEvent
Contains parameters that describe a gesture event
Java wrapper for Qt class QNativeGestureEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QNativeGestureEvent(Qt.NativeGestureType type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, long sequenceId, long intArgument)
protected
QNativeGestureEvent(QNativeGestureEvent arg__1)
protected
QNativeGestureEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QNativeGestureEvent
clone()
Qt.NativeGestureType
gestureType()
QPoint
globalPos()
Deprecated.Use globalPosition().toPoint()protected long
intValue()
QPointF
localPos()
Deprecated.UseQSinglePointEvent.position()
insteadQPoint
pos()
Deprecated.Use position().toPoint()protected double
realValue()
QPointF
screenPos()
Deprecated.UseQSinglePointEvent.globalPosition()
insteadprotected long
sequenceId()
protected void
set(QNativeGestureEvent other)
protected void
setIntValue(long intValue)
protected void
setRealValue(double realValue)
protected void
setSequenceId(long sequenceId)
String
toString()
double
value()
QPointF
windowPos()
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
-
Constructor Details
-
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, long sequenceId, long intArgument) -
QNativeGestureEvent
-
QNativeGestureEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
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
-
setIntValue
-
intValue
-
setRealValue
-
realValue
-
setSequenceId
-
sequenceId
-
toString
- Overrides:
toString
in classQSinglePointEvent
-