java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.widgets.QGraphicsSceneEvent
io.qt.widgets.QGraphicsSceneMouseEvent
- All Implemented Interfaces:
QtObjectInterface
Mouse events in the graphics view framework
Java wrapper for Qt class QGraphicsSceneMouseEvent
-
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 forQGraphicsSceneMouseEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.MouseButton
button()
final QPointF
buttonDownPos
(Qt.MouseButton button) final QPointF
buttonDownScenePos
(Qt.MouseButton button) final QPoint
buttonDownScreenPos
(Qt.MouseButton button) final Qt.MouseButtons
buttons()
final Qt.MouseEventFlags
flags()
final QPointF
lastPos()
final QPointF
final QPoint
final Qt.KeyboardModifiers
final QPointF
pos()
final QPointF
scenePos()
final QPoint
final void
setButton
(Qt.MouseButton button) final void
setButtonDownPos
(Qt.MouseButton button, QPointF pos) final void
setButtonDownScenePos
(Qt.MouseButton button, QPointF pos) final void
setButtonDownScreenPos
(Qt.MouseButton button, QPoint pos) final void
setButtons
(Qt.MouseButton... buttons) Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.final void
setButtons
(Qt.MouseButtons buttons) final void
setFlags
(Qt.MouseEventFlag... arg__1) Overloaded function forsetFlags(io.qt.core.Qt.MouseEventFlags)
.final void
setFlags
(Qt.MouseEventFlags arg__1) 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) final void
setSource
(Qt.MouseEventSource source) final Qt.MouseEventSource
source()
toString()
Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setTimestamp, setWidget, timestamp, widget
Methods inherited from class io.qt.core.QEvent
accept, clone, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QGraphicsSceneMouseEvent
public QGraphicsSceneMouseEvent()Overloaded constructor for
QGraphicsSceneMouseEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
. -
QGraphicsSceneMouseEvent
-
QGraphicsSceneMouseEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
button
-
buttonDownPos
-
buttonDownScenePos
-
buttonDownScreenPos
-
buttons
-
flags
-
lastPos
-
lastScenePos
-
lastScreenPos
-
modifiers
-
pos
-
scenePos
-
screenPos
-
setButton
-
setButtonDownPos
-
setButtonDownScenePos
-
setButtonDownScreenPos
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setButtons
-
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.MouseEventFlags)
. -
setFlags
-
setLastPos
-
setLastScenePos
-
setLastScreenPos
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
setPos
-
setScenePos
-
setScreenPos
-
setSource
-
source
-
toString
- Overrides:
toString
in classQGraphicsSceneEvent
-