java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.widgets.QGraphicsSceneEvent
io.qt.widgets.QGraphicsSceneHoverEvent
- All Implemented Interfaces:
QtObjectInterface
Hover events in the graphics view framework
Java wrapper for Qt's class QGraphicsSceneHoverEvent
-
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.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQGraphicsSceneHoverEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QPointF
lastPos()
final QPointF
final QPoint
final Qt.KeyboardModifiers
final QPointF
pos()
final QPointF
scenePos()
final QPoint
final void
setLastPos
(QPointF pos) final void
setLastScenePos
(QPointF pos) final void
setLastScreenPos
(QPoint pos) final void
setModifiers
(Qt.KeyboardModifier ... modifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers modifiers) final void
final void
setScenePos
(QPointF pos) final void
setScreenPos
(QPoint pos) toString()
Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setTimestamp, setWidget, timestamp, widget
Methods inherited from class io.qt.core.QEvent
accept, assign, clone, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QGraphicsSceneHoverEvent
public QGraphicsSceneHoverEvent()Overloaded constructor for
QGraphicsSceneHoverEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
. -
QGraphicsSceneHoverEvent
-
QGraphicsSceneHoverEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
lastPos
-
lastScenePos
-
lastScreenPos
-
modifiers
-
pos
-
scenePos
-
screenPos
-
setLastPos
-
setLastScenePos
-
setLastScreenPos
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
setPos
-
setScenePos
-
setScreenPos
-
toString
- Overrides:
toString
in classQGraphicsSceneEvent
-