java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QNativeGestureEvent
- All Implemented Interfaces:
QtObjectInterface
public class QNativeGestureEvent extends QInputEvent
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, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument)
Deprecated.QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument)
protected
QNativeGestureEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QTouchDevice
device()
Qt.NativeGestureType
gestureType()
QPoint
globalPos()
QPointF
localPos()
QPoint
pos()
QPointF
screenPos()
protected void
setGestureType(Qt.NativeGestureType gestureType)
protected void
setIntValue(long intValue)
protected void
setLocalPos(QPointF localPos)
protected void
setScreenPos(QPointF screenPos)
protected void
setSequenceId(int sequenceId)
protected void
setValue(double value)
protected void
setWindowPos(QPointF windowPos)
String
toString()
double
value()
QPointF
windowPos()
Methods 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, set, setAccepted, spontaneous, type
-
Constructor Details
-
QNativeGestureEvent
@Deprecated public QNativeGestureEvent(Qt.NativeGestureType type, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument)Deprecated. -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details