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
- Since:
- This class was introduced in Qt 5.2.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
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, QPointF localPos, QPointF windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QPointF localPos, QPoint windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QPointF localPos, QPoint windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QPoint localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QPoint localPos, QPointF windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QPoint localPos, QPoint windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QPoint localPos, QPoint windowPos, QPoint 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) QNativeGestureEvent
(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPointF windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPoint windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPoint windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QTouchDevice dev, QPoint localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QTouchDevice dev, QPoint localPos, QPointF windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QTouchDevice dev, QPoint localPos, QPoint windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) QNativeGestureEvent
(Qt.NativeGestureType type, QTouchDevice dev, QPoint localPos, QPoint windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) SeeQNativeGestureEvent::
QNativeGestureEvent(QNativeGestureEvent) -
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
(QPoint localPos) Overloaded function forsetLocalPos(io.qt.core.QPointF)
.protected final void
setLocalPos
(QPointF localPos) SeeQNativeGestureEvent::
mLocalPos protected final void
setScreenPos
(QPoint screenPos) Overloaded function forsetScreenPos(io.qt.core.QPointF)
.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
(QPoint windowPos) Overloaded function forsetWindowPos(io.qt.core.QPointF)
.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
See
QNativeGestureEvent::
QNativeGestureEvent(QNativeGestureEvent) - Parameters:
other
-
-
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) - Parameters:
type
-localPos
-windowPos
-screenPos
-value
-sequenceId
-intArgument
-
-
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) - Parameters:
type
-dev
-localPos
-windowPos
-screenPos
-value
-sequenceId
-intArgument
-- Since:
- This function was introduced in Qt 5.10.
-
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPoint localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointF localPos, QPoint windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPoint localPos, QPoint windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointF localPos, QPointF windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPoint localPos, QPointF windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPointF localPos, QPoint windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QPoint localPos, QPoint windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPoint localPos, QPointF windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPoint windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPoint localPos, QPoint windowPos, QPointF screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPointF windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPoint localPos, QPointF windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPointF localPos, QPoint windowPos, QPoint screenPos, double value, int sequenceId, long intArgument) -
QNativeGestureEvent
public QNativeGestureEvent(Qt.NativeGestureType type, QTouchDevice dev, QPoint localPos, QPoint windowPos, QPoint screenPos, double value, int sequenceId, long intArgument)
-
-
Method Details
-
device
- Returns:
- Since:
- This function was introduced in Qt 5.10.
-
gestureType
- Returns:
- Since:
- This function was introduced in Qt 5.2.
-
globalPos
- Returns:
- Since:
- This function was introduced in Qt 5.2.
-
localPos
- Returns:
- Since:
- This function was introduced in Qt 5.2.
-
pos
- Returns:
- Since:
- This function was introduced in Qt 5.2.
-
screenPos
- Returns:
- Since:
- This function was introduced in Qt 5.2.
-
value
- Returns:
- Since:
- This function was introduced in Qt 5.2.
-
windowPos
- Returns:
- Since:
- This function was introduced in Qt 5.2.
-
setGestureType
See
QNativeGestureEvent::
mGestureType - Parameters:
gestureType
-
-
setIntValue
See
QNativeGestureEvent::
mIntValue - Parameters:
intValue
-
-
setLocalPos
See
QNativeGestureEvent::
mLocalPos - Parameters:
localPos
-
-
setValue
See
QNativeGestureEvent::
mRealValue - Parameters:
value
-
-
setScreenPos
See
QNativeGestureEvent::
mScreenPos - Parameters:
screenPos
-
-
setSequenceId
See
QNativeGestureEvent::
mSequenceId - Parameters:
sequenceId
-
-
setWindowPos
See
QNativeGestureEvent::
mWindowPos - Parameters:
windowPos
-
-
clone
Creates and returns a copy of this object.
See
QNativeGestureEvent::
QNativeGestureEvent(QNativeGestureEvent) - Overrides:
clone
in classQInputEvent
-
setLocalPos
Overloaded function for
setLocalPos(io.qt.core.QPointF)
. -
setScreenPos
Overloaded function for
setScreenPos(io.qt.core.QPointF)
. -
setWindowPos
Overloaded function for
setWindowPos(io.qt.core.QPointF)
.
-