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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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) -
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()final double
Deprecated.use globalPosF().y()final 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
(QPointF globalPosF) SeeQTabletEvent::
mGPos protected final void
setPointerType
(int pointerType) SeeQTabletEvent::
mPointerType 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) -
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) -
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)
-
-
Method Details
-
button
-
buttons
-
device
Deprecated.UsedeviceType()
instead -
deviceType
-
globalPos
-
globalPosF
-
globalX
-
globalY
-
hiResGlobalX
Deprecated.use globalPosF().x() -
hiResGlobalY
Deprecated.use globalPosF().y() -
pointerType
-
pos
-
posF
-
pressure
-
rotation
-
tangentialPressure
-
uniqueId
-
x
-
xTilt
-
y
-
yTilt
-
z
-
setDevice
See
QTabletEvent::
mDev -
setGlobalPosF
See
QTabletEvent::
mGPos -
setPointerType
See
QTabletEvent::
mPointerType -
setPosF
See
QTabletEvent::
mPos -
setPressure
See
QTabletEvent::
mPress -
setRotation
See
QTabletEvent::
mRot -
setTangentialPressure
See
QTabletEvent::
mTangential -
setUniqueId
See
QTabletEvent::
mUnique -
setXTilt
See
QTabletEvent::
mXT -
setYTilt
See
QTabletEvent::
mYT -
setZ
See
QTabletEvent::
mZ -
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQInputEvent
-
deviceType()
instead