java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
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.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQNativeGestureEvent
(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
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QTouchDevice
device()
final Qt.NativeGestureType
final QPoint
final QPointF
localPos()
final QPoint
pos()
final QPointF
protected final void
setGestureType
(Qt.NativeGestureType gestureType) protected final void
setIntValue
(long intValue) protected final void
setLocalPos
(QPointF localPos) protected final void
setScreenPos
(QPointF screenPos) protected final void
setSequenceId
(int sequenceId) protected final void
setValue
(double value) protected final void
setWindowPos
(QPointF windowPos) toString()
final double
value()
final QPointF
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
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
-
device
-
gestureType
-
globalPos
-
localPos
-
pos
-
screenPos
-
value
-
windowPos
-
setGestureType
-
setIntValue
-
setLocalPos
-
setValue
-
setScreenPos
-
setSequenceId
-
setWindowPos
-
toString
- Overrides:
toString
in classQInputEvent
-