- All Implemented Interfaces:
QtObjectInterface
public class QHoverEvent extends QSinglePointEvent
Contains parameters that describe a mouse event
Java wrapper for Qt class QHoverEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QHoverEvent(QEvent.Type type, QPointF pos, QPointF oldPos)
QHoverEvent(QEvent.Type type, QPointF pos, QPointF oldPos, Qt.KeyboardModifiers modifiers)
Overloaded constructor forQHoverEvent(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(QEvent.Type type, QPointF pos, QPointF oldPos, Qt.KeyboardModifiers modifiers, QPointingDevice device)
protected
QHoverEvent(QHoverEvent arg__1)
protected
QHoverEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QHoverEvent
clone()
boolean
isUpdateEvent()
QPoint
oldPos()
QPointF
oldPosF()
QPoint
pos()
Deprecated.UseQSinglePointEvent.position()
insteadQPointF
posF()
Deprecated.UseQSinglePointEvent.position()
insteadprotected void
set(QHoverEvent other)
String
toString()
Methods inherited from class io.qt.gui.QSinglePointEvent
button, buttons, doubleClick, exclusivePointGrabber, globalPosition, invertedScrolling, isBeginEvent, isEndEvent, 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
-
QHoverEvent
Overloaded 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
Overloaded 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
public QHoverEvent(QEvent.Type type, QPointF pos, QPointF oldPos, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QHoverEvent
-
QHoverEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
oldPos
-
oldPosF
-
set
-
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
-