- All Implemented Interfaces:
QtObjectInterface
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.gui.QSinglePointEvent
staticMetaObject
-
Constructor Summary
ConstructorsModifierConstructorDescriptionQNativeGestureEvent
(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) protected
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QNativeGestureEvent other) SeeQNativeGestureEvent::
operator=(QNativeGestureEvent) clone()
final QPointF
delta()
final int
final Qt.NativeGestureType
protected final double
Kotlin property getter.protected final long
Kotlin property getter.final QPoint
Deprecated.Use globalPosition().toPoint()final QPointF
localPos()
Deprecated.UseQSinglePointEvent.position()
insteadfinal QPoint
pos()
Deprecated.Use position().toPoint()protected final double
SeeQNativeGestureEvent::
m_realValue final QPointF
Deprecated.UseQSinglePointEvent.globalPosition()
insteadprotected final long
SeeQNativeGestureEvent::
m_sequenceId protected final void
set
(QNativeGestureEvent other) Deprecated.Useassign(io.qt.gui.QNativeGestureEvent)
instead.protected final void
setRealValue
(double realValue) SeeQNativeGestureEvent::
m_realValue protected final void
setSequenceId
(long sequenceId) SeeQNativeGestureEvent::
m_sequenceId final double
value()
final QPointF
Deprecated.UseQSinglePointEvent.scenePosition()
insteadMethods inherited from class io.qt.gui.QSinglePointEvent
assign, button, buttons, doubleClick, exclusivePointGrabber, getDoubleClick, getExclusivePointGrabber, getInvertedScrolling, getPhaseFlag, getSourceFlag, globalPosition, invertedScrolling, isBeginEvent, isEndEvent, isUpdateEvent, phaseFlag, position, scenePosition, setButton, setButtons, setButtons, setDoubleClick, setExclusivePointGrabber, setInvertedScrolling, setPhaseFlag, setSourceFlag, sourceFlag
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, assign, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
assign, device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, double value, long sequenceId, long intArgument) -
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
-
-
Method Details
-
delta
-
fingerCount
-
gestureType
-
globalPos
Deprecated.Use globalPosition().toPoint()See
QNativeGestureEvent::
globalPos()const -
localPos
Deprecated.UseQSinglePointEvent.position()
insteadSee
QNativeGestureEvent::
localPos()const -
set
Deprecated.Useassign(io.qt.gui.QNativeGestureEvent)
instead. -
assign
See
QNativeGestureEvent::
operator=(QNativeGestureEvent) -
pos
Deprecated.Use position().toPoint()See
QNativeGestureEvent::
pos()const -
screenPos
Deprecated.UseQSinglePointEvent.globalPosition()
insteadSee
QNativeGestureEvent::
screenPos()const -
value
-
windowPos
Deprecated.UseQSinglePointEvent.scenePosition()
insteadSee
QNativeGestureEvent::
windowPos()const -
clone
- Overrides:
clone
in classQSinglePointEvent
-
setRealValue
See
QNativeGestureEvent::
m_realValue -
getRealValue
Kotlin property getter. In Java use
realValue()
instead. -
realValue
See
QNativeGestureEvent::
m_realValue -
setSequenceId
See
QNativeGestureEvent::
m_sequenceId -
getSequenceId
Kotlin property getter. In Java use
sequenceId()
instead. -
sequenceId
See
QNativeGestureEvent::
m_sequenceId
-