- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a mouse event
Java wrapper for Qt's class QHoverEvent
-
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
ModifierConstructorDescriptionQHoverEvent
(QEvent.Type type, QPointF pos, QPointF oldPos) Deprecated.Use the other constructorQHoverEvent
(QEvent.Type type, QPointF scenePos, QPointF globalPos, QPointF oldPos) QHoverEvent
(QEvent.Type type, QPointF scenePos, QPointF globalPos, QPointF oldPos, Qt.KeyboardModifiers modifiers) Overloaded constructor forQHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QHoverEvent
(QEvent.Type type, QPointF scenePos, QPointF globalPos, QPointF oldPos, Qt.KeyboardModifiers modifiers, QPointingDevice device) QHoverEvent
(QEvent.Type type, QPointF pos, QPointF oldPos, Qt.KeyboardModifiers modifiers) Deprecated.Use the other constructorQHoverEvent
(QEvent.Type type, QPointF pos, QPointF oldPos, Qt.KeyboardModifiers modifiers, QPointingDevice device) Deprecated.Use the other constructorprotected
QHoverEvent
(QHoverEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QHoverEvent other) clone()
boolean
final QPoint
oldPos()
final QPointF
oldPosF()
final QPoint
pos()
Deprecated.UseQSinglePointEvent.position()
insteadfinal QPointF
posF()
Deprecated.UseQSinglePointEvent.position()
insteadprotected final void
set
(QHoverEvent other) Deprecated.Useassign(io.qt.gui.QHoverEvent)
instead.toString()
Methods inherited from class io.qt.gui.QSinglePointEvent
assign, button, buttons, doubleClick, exclusivePointGrabber, getDoubleClick, getExclusivePointGrabber, getInvertedScrolling, getPhaseFlag, getSourceFlag, globalPosition, invertedScrolling, isBeginEvent, isEndEvent, 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
-
QHoverEvent
@Deprecated public QHoverEvent(QEvent.Type type, QPointF pos, QPointF oldPos, Qt.KeyboardModifiers modifiers) Deprecated.Use the other constructorOverloaded constructor for
QHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QHoverEvent
Deprecated.Use the other constructorOverloaded constructor for
QHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
device = io.qt.gui.QPointingDevice.primaryPointingDevice()
-
QHoverEvent
@Deprecated public QHoverEvent(QEvent.Type type, QPointF pos, QPointF oldPos, Qt.KeyboardModifiers modifiers, QPointingDevice device) Deprecated.Use the other constructor -
QHoverEvent
public QHoverEvent(QEvent.Type type, QPointF scenePos, QPointF globalPos, QPointF oldPos, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QHoverEvent
Overloaded constructor for
QHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
device = io.qt.gui.QPointingDevice.primaryPointingDevice()
-
QHoverEvent
public QHoverEvent(QEvent.Type type, QPointF scenePos, QPointF globalPos, QPointF oldPos, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QHoverEvent
-
QHoverEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
oldPos
-
oldPosF
-
set
Deprecated.Useassign(io.qt.gui.QHoverEvent)
instead. -
assign
-
pos
Deprecated.UseQSinglePointEvent.position()
instead -
posF
Deprecated.UseQSinglePointEvent.position()
instead -
clone
- Overrides:
clone
in classQSinglePointEvent
-
isUpdateEvent
- Overrides:
isUpdateEvent
in classQSinglePointEvent
-
toString
- Overrides:
toString
in classQSinglePointEvent
-