- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a Tablet event
Java wrapper for Qt's class QTabletEvent
-
Nested Class Summary
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
Fields inherited from class io.qt.gui.QSinglePointEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQTabletEvent
(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
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QPoint
Deprecated.final QPointF
Deprecated.UseQSinglePointEvent.globalPosition()
insteadfinal int
globalX()
Deprecated.Use globalPosition().x()final int
globalY()
Deprecated.Use globalPosition().y()final double
Deprecated.use globalPosition().x()final double
Deprecated.use globalPosition().y()final QPoint
pos()
Deprecated.UseQSinglePointEvent.position()
insteadfinal QPointF
posF()
Deprecated.UseQSinglePointEvent.position()
insteadfinal double
pressure()
final double
rotation()
protected final void
set
(QTabletEvent other) protected final void
setTangentialPressure
(float tangentialPressure) final double
toString()
final long
uniqueId()
Deprecated.use pointingDevice().uniqueId()final int
x()
Deprecated.Use position().x()final double
xTilt()
final int
y()
Deprecated.Use position().y()final double
yTilt()
final 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
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
-
QSinglePointEvent.globalPosition()
instead