java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QNativeGestureEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains parameters that describe a gesture event
Java wrapper for Qt 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
ConstructorDescriptionQNativeGestureEvent
(Qt.NativeGestureType type, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QTouchDevice
device()
final Qt.NativeGestureType
final QPoint
final QPointF
localPos()
final QPoint
pos()
final QPointF
protected final void
setGestureType
(Qt.NativeGestureType gestureType) SeeQNativeGestureEvent::
mGestureType protected final void
setIntValue
(long intValue) SeeQNativeGestureEvent::
mIntValue protected final void
setLocalPos
(QPointF localPos) SeeQNativeGestureEvent::
mLocalPos protected final void
setScreenPos
(QPointF screenPos) SeeQNativeGestureEvent::
mScreenPos protected final void
setSequenceId
(int sequenceId) SeeQNativeGestureEvent::
mSequenceId protected final void
setValue
(double value) SeeQNativeGestureEvent::
mRealValue protected final void
setWindowPos
(QPointF windowPos) SeeQNativeGestureEvent::
mWindowPos 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, assign, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument)
-
-
Method Details
-
device
-
gestureType
-
globalPos
-
localPos
-
pos
-
screenPos
-
value
-
windowPos
-
setGestureType
See
QNativeGestureEvent::
mGestureType -
setIntValue
See
QNativeGestureEvent::
mIntValue -
setLocalPos
See
QNativeGestureEvent::
mLocalPos -
setValue
See
QNativeGestureEvent::
mRealValue -
setScreenPos
See
QNativeGestureEvent::
mScreenPos -
setSequenceId
See
QNativeGestureEvent::
mSequenceId -
setWindowPos
See
QNativeGestureEvent::
mWindowPos -
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQInputEvent
-