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 device)
protected void
setGlobalPosF(QPointF globalPosF)
protected void
setPointerType(int pointerType)
protected void
setPosF(QPointF posF)
protected void
setPressure(double pressure)
protected void
setRotation(double rotation)
protected void
setTangentialPressure(double tangentialPressure)
protected void
setUniqueId(long uniqueId)
protected void
setXTilt(int xTilt)
protected void
setYTilt(int yTilt)
protected void
setZ(int z)
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, set, setAccepted, spontaneous, 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
-
setDevice
-
setGlobalPosF
-
setPointerType
-
setPosF
-
setPressure
-
setRotation
-
setTangentialPressure
-
setUniqueId
-
setXTilt
-
setYTilt
-
setZ
-
toString
- Overrides:
toString
in classQInputEvent
-