- All Implemented Interfaces:
QtObjectInterface
public class QTabletEvent extends QSinglePointEvent
Contains parameters that describe a Tablet event
Java wrapper for Qt class QTabletEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QTabletEvent(QEvent.Type t, QPointingDevice device, QPointF pos, QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, Qt.KeyboardModifiers keyState, Qt.MouseButton button, Qt.MouseButton... buttons)
QTabletEvent(QEvent.Type t, QPointingDevice device, QPointF pos, QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, Qt.KeyboardModifiers keyState, Qt.MouseButton button, Qt.MouseButtons buttons)
protected
QTabletEvent(QTabletEvent arg__1)
protected
QTabletEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QTabletEvent
clone()
QPoint
globalPos()
Deprecated.UseQSinglePointEvent.globalPosition()
insteadQPointF
globalPosF()
Deprecated.UseQSinglePointEvent.globalPosition()
insteadint
globalX()
Deprecated.Use globalPosition().x()int
globalY()
Deprecated.Use globalPosition().y()double
hiResGlobalX()
Deprecated.use globalPosition().x()double
hiResGlobalY()
Deprecated.use globalPosition().y()QPoint
pos()
Deprecated.UseQSinglePointEvent.position()
insteadQPointF
posF()
Deprecated.UseQSinglePointEvent.position()
insteaddouble
pressure()
double
rotation()
protected void
set(QTabletEvent other)
protected void
setTangentialPressure(float tangentialPressure)
double
tangentialPressure()
String
toString()
long
uniqueId()
Deprecated.use pointingDevice().uniqueId()int
x()
Deprecated.Use position().x()double
xTilt()
int
y()
Deprecated.Use position().y()double
yTilt()
double
z()
Methods inherited from class io.qt.gui.QSinglePointEvent
button, buttons, doubleClick, exclusivePointGrabber, globalPosition, invertedScrolling, isBeginEvent, isEndEvent, isUpdateEvent, phaseFlag, position, scenePosition, set, setButton, setButtons, setButtons, setDoubleClick, setExclusivePointGrabber, setInvertedScrolling, setPhaseFlag, setSourceFlag, sourceFlag
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, type
-
Constructor Details
-
QTabletEvent
public QTabletEvent(QEvent.Type t, QPointingDevice device, QPointF pos, QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, Qt.KeyboardModifiers keyState, Qt.MouseButton button, Qt.MouseButton... buttons) -
QTabletEvent
public QTabletEvent(QEvent.Type t, QPointingDevice device, QPointF pos, QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, Qt.KeyboardModifiers keyState, Qt.MouseButton button, Qt.MouseButtons buttons) -
QTabletEvent
-
QTabletEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
globalPos
Deprecated.UseQSinglePointEvent.globalPosition()
instead -
globalPosF
Deprecated.UseQSinglePointEvent.globalPosition()
instead -
globalX
Deprecated.Use globalPosition().x() -
globalY
Deprecated.Use globalPosition().y() -
hiResGlobalX
Deprecated.use globalPosition().x() -
hiResGlobalY
Deprecated.use globalPosition().y() -
set
-
pos
Deprecated.UseQSinglePointEvent.position()
instead -
posF
Deprecated.UseQSinglePointEvent.position()
instead -
pressure
-
rotation
-
tangentialPressure
-
uniqueId
Deprecated.use pointingDevice().uniqueId() -
x
Deprecated.Use position().x() -
xTilt
-
y
Deprecated.Use position().y() -
yTilt
-
z
-
clone
- Overrides:
clone
in classQSinglePointEvent
-
setTangentialPressure
-
toString
- Overrides:
toString
in classQSinglePointEvent
-