java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QPointerEvent
io.qt.gui.QSinglePointEvent
io.qt.gui.QEnterEvent
- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe an enter event
Java wrapper for Qt's class QEnterEvent
-
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
ModifierConstructorDescriptionQEnterEvent
(QPointF localPos, QPointF scenePos, QPointF globalPos) Overloaded constructor forQEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QEnterEvent
(QPointF localPos, QPointF scenePos, QPointF globalPos, QPointingDevice device) protected
QEnterEvent
(QEnterEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QEnterEvent other) clone()
final QPoint
Deprecated.final int
globalX()
Deprecated.UseQSinglePointEvent.globalPosition()
insteadfinal int
globalY()
Deprecated.UseQSinglePointEvent.globalPosition()
insteadfinal QPointF
localPos()
Deprecated.UseQSinglePointEvent.position()
insteadfinal QPoint
pos()
Deprecated.UseQSinglePointEvent.position()
insteadfinal QPointF
Deprecated.UseQSinglePointEvent.globalPosition()
insteadprotected final void
set
(QEnterEvent other) Deprecated.Useassign(io.qt.gui.QEnterEvent)
instead.toString()
final QPointF
Deprecated.UseQSinglePointEvent.scenePosition()
insteadfinal int
x()
Deprecated.UseQSinglePointEvent.position()
insteadfinal int
y()
Deprecated.UseQSinglePointEvent.position()
insteadMethods inherited from class io.qt.gui.QSinglePointEvent
assign, button, buttons, doubleClick, exclusivePointGrabber, getDoubleClick, getExclusivePointGrabber, getInvertedScrolling, getPhaseFlag, getSourceFlag, globalPosition, invertedScrolling, isBeginEvent, isEndEvent, isUpdateEvent, phaseFlag, position, scenePosition, setButton, setButtons, setButtons, setDoubleClick, setExclusivePointGrabber, setInvertedScrolling, setPhaseFlag, setSourceFlag, sourceFlag
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, assign, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
assign, device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QEnterEvent
-
QEnterEvent
Overloaded constructor for
QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QEnterEvent
-
QEnterEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
globalPos
Deprecated.UseQSinglePointEvent.globalPosition()
instead -
globalX
Deprecated.UseQSinglePointEvent.globalPosition()
instead -
globalY
Deprecated.UseQSinglePointEvent.globalPosition()
instead -
localPos
Deprecated.UseQSinglePointEvent.position()
instead -
set
Deprecated.Useassign(io.qt.gui.QEnterEvent)
instead. -
assign
-
pos
Deprecated.UseQSinglePointEvent.position()
instead -
screenPos
Deprecated.UseQSinglePointEvent.globalPosition()
instead -
windowPos
Deprecated.UseQSinglePointEvent.scenePosition()
instead -
x
Deprecated.UseQSinglePointEvent.position()
instead -
y
Deprecated.UseQSinglePointEvent.position()
instead -
clone
- Overrides:
clone
in classQSinglePointEvent
-
toString
- Overrides:
toString
in classQSinglePointEvent
-
QSinglePointEvent.globalPosition()
instead