java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QTabletEvent
- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a Tablet event
Java wrapper for Qt's class QTabletEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTabletEvent::PointerTypestatic enum
Java wrapper for Qt enum QTabletEvent::TabletDeviceNested 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
ModifierConstructorDescriptionQTabletEvent
(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
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.MouseButton
button()
final Qt.MouseButtons
buttons()
device()
Deprecated.UsedeviceType()
insteadfinal 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) protected final void
setGlobalPosF
(QPointF globalPosF) protected final void
setPointerType
(int pointerType) protected final void
protected final void
setPressure
(double pressure) protected final void
setRotation
(double rotation) protected final void
setTangentialPressure
(double tangentialPressure) protected final void
setUniqueId
(long uniqueId) protected final void
setXTilt
(int xTilt) protected final void
setYTilt
(int yTilt) protected final void
setZ
(int z) final double
toString()
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, 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
@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
-