java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QTabletEvent
- All Implemented Interfaces:
QtObjectInterface
public class QTabletEvent extends QInputEvent
Contains parameters that describe a Tablet event
Java wrapper for Qt class QTabletEvent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTabletEvent.PointerType
Java wrapper for Qt enum QTabletEvent::PointerTypestatic class
QTabletEvent.TabletDevice
Java wrapper for Qt enum QTabletEvent::TabletDevice -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description 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)
Deprecated.Use the other QTabletEvent constructorQTabletEvent(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)
protected
QTabletEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description Qt.MouseButton
button()
Qt.MouseButtons
buttons()
QTabletEvent.TabletDevice
device()
Deprecated.UsedeviceType()
insteadQTabletEvent.TabletDevice
deviceType()
QPoint
globalPos()
QPointF
globalPosF()
int
globalX()
int
globalY()
double
hiResGlobalX()
Deprecated.use globalPosF().x()double
hiResGlobalY()
Deprecated.use globalPosF().y()QTabletEvent.PointerType
pointerType()
QPoint
pos()
QPointF
posF()
double
pressure()
double
rotation()
protected void
setDevice(int mDev)
protected void
setGlobalPosF(QPointF mGPos)
protected void
setPointerType(int mPointerType)
protected void
setPosF(QPointF mPos)
protected void
setPressure(double mPress)
protected void
setRotation(double mRot)
protected void
setTangentialPressure(double mTangential)
protected void
setUniqueId(long mUnique)
protected void
setXTilt(int mXT)
protected void
setYTilt(int mYT)
protected void
setZ(int mZ)
double
tangentialPressure()
String
toString()
long
uniqueId()
int
x()
int
xTilt()
int
y()
int
yTilt()
int
z()
Methods inherited from class io.qt.gui.QInputEvent
modifiers, setModifiers, setModifiers, setTimestamp, timestamp
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, setAccepted, setT, spontaneous, t, type
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QTabletEvent
@Deprecated 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)Deprecated.Use the other QTabletEvent constructor -
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, 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
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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
-
setZ
-
setPointerType
-
setTangentialPressure
-
setYTilt
-
setDevice
-
setPressure
-
setRotation
-
setGlobalPosF
-
setUniqueId
-
setPosF
-
setXTilt
-
toString
- Overrides:
toString
in classQInputEvent
-