java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QTabletEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains parameters that describe a Tablet event
Java wrapper for Qt class QTabletEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTabletEvent::PointerType
static enum
Java wrapper for Qt enumQTabletEvent::TabletDevice
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQTabletEvent
(QEvent.Type t, QPointF pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID) QTabletEvent
(QEvent.Type t, QPointF pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButton ... buttons) QTabletEvent
(QEvent.Type t, QPointF pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons) QTabletEvent
(QEvent.Type t, QPointF pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID) QTabletEvent
(QEvent.Type t, QPointF pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButton ... buttons) QTabletEvent
(QEvent.Type t, QPointF pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons) QTabletEvent
(QEvent.Type t, QPoint pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID) QTabletEvent
(QEvent.Type t, QPoint pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButton ... buttons) QTabletEvent
(QEvent.Type t, QPoint pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons) QTabletEvent
(QEvent.Type t, QPoint pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID) QTabletEvent
(QEvent.Type t, QPoint pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButton ... buttons) QTabletEvent
(QEvent.Type t, QPoint pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons) QTabletEvent
(QTabletEvent other) SeeQTabletEvent::
QTabletEvent(QTabletEvent) -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.MouseButton
button()
final Qt.MouseButtons
buttons()
clone()
Creates and returns a copy of this object.device()
Deprecated.final QPoint
final QPointF
final int
globalX()
final int
globalY()
final double
Deprecated.use globalPosF().x()@returnfinal double
Deprecated.use globalPosF().y()@returnfinal QTabletEvent.PointerType
final QPoint
pos()
final QPointF
posF()
final double
pressure()
final double
rotation()
protected final void
setDevice
(int device) SeeQTabletEvent::
mDev protected final void
setGlobalPosF
(QPoint globalPosF) Overloaded function forsetGlobalPosF(io.qt.core.QPointF)
.protected final void
setGlobalPosF
(QPointF globalPosF) SeeQTabletEvent::
mGPos protected final void
setPointerType
(int pointerType) SeeQTabletEvent::
mPointerType protected final void
Overloaded function forsetPosF(io.qt.core.QPointF)
.protected final void
SeeQTabletEvent::
mPos protected final void
setPressure
(double pressure) SeeQTabletEvent::
mPress protected final void
setRotation
(double rotation) SeeQTabletEvent::
mRot protected final void
setTangentialPressure
(double tangentialPressure) SeeQTabletEvent::
mTangential protected final void
setUniqueId
(long uniqueId) SeeQTabletEvent::
mUnique protected final void
setXTilt
(int xTilt) SeeQTabletEvent::
mXT protected final void
setYTilt
(int yTilt) SeeQTabletEvent::
mYT protected final void
setZ
(int z) SeeQTabletEvent::
mZ final double
final long
uniqueId()
final int
x()
final int
xTilt()
final int
y()
final int
yTilt()
final int
z()
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
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QTabletEvent
public QTabletEvent(QEvent.Type t, QPointF pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID) - Parameters:
t
-pos
-globalPos
-device
-pointerType
-pressure
-xTilt
-yTilt
-tangentialPressure
-rotation
-z
-keyState
-uniqueID
-
-
QTabletEvent
public QTabletEvent(QEvent.Type t, QPointF pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons) - Parameters:
t
-pos
-globalPos
-device
-pointerType
-pressure
-xTilt
-yTilt
-tangentialPressure
-rotation
-z
-keyState
-uniqueID
-button
-buttons
-
-
QTabletEvent
See
QTabletEvent::
QTabletEvent(QTabletEvent) - Parameters:
other
-
-
QTabletEvent
public QTabletEvent(QEvent.Type t, QPoint pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPointF pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPoint pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPoint pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPointF pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPoint pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPointF pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButton ... buttons) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPoint pos, QPointF globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButton ... buttons) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPointF pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButton ... buttons) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPoint pos, QPoint globalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, Qt.KeyboardModifiers keyState, long uniqueID, Qt.MouseButton button, Qt.MouseButton ... buttons)
-
-
Method Details
-
button
- Returns:
-
buttons
- Returns:
-
device
Deprecated.UsedeviceType()
instead@return -
deviceType
- Returns:
-
globalPos
- Returns:
-
globalPosF
- Returns:
-
globalX
- Returns:
-
globalY
- Returns:
-
hiResGlobalX
Deprecated.use globalPosF().x()@return -
hiResGlobalY
Deprecated.use globalPosF().y()@return -
pointerType
- Returns:
-
pos
- Returns:
-
posF
- Returns:
-
pressure
- Returns:
-
rotation
- Returns:
-
tangentialPressure
- Returns:
-
uniqueId
- Returns:
-
x
- Returns:
-
xTilt
- Returns:
-
y
- Returns:
-
yTilt
- Returns:
-
z
- Returns:
-
setDevice
See
QTabletEvent::
mDev - Parameters:
device
-
-
setGlobalPosF
See
QTabletEvent::
mGPos - Parameters:
globalPosF
-
-
setPointerType
See
QTabletEvent::
mPointerType - Parameters:
pointerType
-
-
setPosF
See
QTabletEvent::
mPos - Parameters:
posF
-
-
setPressure
See
QTabletEvent::
mPress - Parameters:
pressure
-
-
setRotation
See
QTabletEvent::
mRot - Parameters:
rotation
-
-
setTangentialPressure
See
QTabletEvent::
mTangential - Parameters:
tangentialPressure
-
-
setUniqueId
See
QTabletEvent::
mUnique - Parameters:
uniqueId
-
-
setXTilt
See
QTabletEvent::
mXT - Parameters:
xTilt
-
-
setYTilt
See
QTabletEvent::
mYT - Parameters:
yTilt
-
-
setZ
See
QTabletEvent::
mZ - Parameters:
z
-
-
clone
Creates and returns a copy of this object.
See
QTabletEvent::
QTabletEvent(QTabletEvent) - Overrides:
clone
in classQInputEvent
-
setGlobalPosF
Overloaded function for
setGlobalPosF(io.qt.core.QPointF)
. -
setPosF
Overloaded function for
setPosF(io.qt.core.QPointF)
.
-
deviceType()
instead@return