java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.widgets.QGraphicsSceneEvent
io.qt.widgets.QGraphicsSceneHoverEvent
- All Implemented Interfaces:
QtObjectInterface
public class QGraphicsSceneHoverEvent extends QGraphicsSceneEvent
Hover events in the graphics view framework
Java wrapper for Qt class QGraphicsSceneHoverEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QGraphicsSceneHoverEvent()
Overloaded constructor forQGraphicsSceneHoverEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.QGraphicsSceneHoverEvent(QEvent.Type type)
protected
QGraphicsSceneHoverEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QPointF
lastPos()
QPointF
lastScenePos()
QPoint
lastScreenPos()
Qt.KeyboardModifiers
modifiers()
QPointF
pos()
QPointF
scenePos()
QPoint
screenPos()
void
setLastPos(QPointF pos)
void
setLastScenePos(QPointF pos)
void
setLastScreenPos(QPoint pos)
void
setModifiers(Qt.KeyboardModifier... modifiers)
Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.void
setModifiers(Qt.KeyboardModifiers modifiers)
void
setPos(QPointF pos)
void
setScenePos(QPointF pos)
void
setScreenPos(QPoint pos)
String
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
-
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
-