- 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
ConstructorDescriptionOverloaded constructor forQGraphicsSceneMouseEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.SeeQGraphicsSceneMouseEvent::
QGraphicsSceneMouseEvent(QEvent::Type) -
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) SeeQGraphicsSceneMouseEvent::
setButton(Qt::MouseButton) final void
setButtonDownPos
(Qt.MouseButton button, QPointF pos) SeeQGraphicsSceneMouseEvent::
setButtonDownPos(Qt::MouseButton, QPointF) final void
setButtonDownScenePos
(Qt.MouseButton button, QPointF pos) SeeQGraphicsSceneMouseEvent::
setButtonDownScenePos(Qt::MouseButton, QPointF) final void
setButtonDownScreenPos
(Qt.MouseButton button, QPoint pos) SeeQGraphicsSceneMouseEvent::
setButtonDownScreenPos(Qt::MouseButton, QPoint) final void
setButtons
(Qt.MouseButton ... buttons) Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.final void
setButtons
(Qt.MouseButtons buttons) SeeQGraphicsSceneMouseEvent::
setButtons(Qt::MouseButtons) final void
setFlags
(Qt.MouseEventFlag ... arg__1) Overloaded function forsetFlags(io.qt.core.Qt.MouseEventFlags)
.final void
setFlags
(Qt.MouseEventFlags arg__1) SeeQGraphicsSceneMouseEvent::
setFlags(Qt::MouseEventFlags) final void
setLastPos
(QPointF pos) SeeQGraphicsSceneMouseEvent::
setLastPos(QPointF) final void
setLastScenePos
(QPointF pos) SeeQGraphicsSceneMouseEvent::
setLastScenePos(QPointF) final void
setLastScreenPos
(QPoint pos) SeeQGraphicsSceneMouseEvent::
setLastScreenPos(QPoint) final void
setModifiers
(Qt.KeyboardModifier ... modifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers modifiers) SeeQGraphicsSceneMouseEvent::
setModifiers(Qt::KeyboardModifiers) final void
SeeQGraphicsSceneMouseEvent::
setPos(QPointF) final void
setScenePos
(QPointF pos) SeeQGraphicsSceneMouseEvent::
setScenePos(QPointF) final void
setScreenPos
(QPoint pos) SeeQGraphicsSceneMouseEvent::
setScreenPos(QPoint) final void
setSource
(Qt.MouseEventSource source) SeeQGraphicsSceneMouseEvent::
setSource(Qt::MouseEventSource) final Qt.MouseEventSource
source()
Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setTimestamp, setWidget, timestamp, toString, 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
-
QGraphicsSceneMouseEvent
See
QGraphicsSceneMouseEvent::
QGraphicsSceneMouseEvent(QEvent::Type) -
QGraphicsSceneMouseEvent
public QGraphicsSceneMouseEvent()Overloaded constructor for
QGraphicsSceneMouseEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.
-
-
Method Details
-
button
-
buttonDownPos
-
buttonDownScenePos
-
buttonDownScreenPos
-
buttons
-
flags
-
lastPos
-
lastScenePos
-
lastScreenPos
-
modifiers
-
pos
-
scenePos
-
screenPos
-
setButton
See
QGraphicsSceneMouseEvent::
setButton(Qt::MouseButton) -
setButtonDownPos
See
QGraphicsSceneMouseEvent::
setButtonDownPos(Qt::MouseButton, QPointF) -
setButtonDownScenePos
See
QGraphicsSceneMouseEvent::
setButtonDownScenePos(Qt::MouseButton, QPointF) -
setButtonDownScreenPos
See
QGraphicsSceneMouseEvent::
setButtonDownScreenPos(Qt::MouseButton, QPoint) -
setButtons
See
QGraphicsSceneMouseEvent::
setButtons(Qt::MouseButtons) -
setFlags
See
QGraphicsSceneMouseEvent::
setFlags(Qt::MouseEventFlags) -
setLastPos
See
QGraphicsSceneMouseEvent::
setLastPos(QPointF) -
setLastScenePos
See
QGraphicsSceneMouseEvent::
setLastScenePos(QPointF) -
setLastScreenPos
See
QGraphicsSceneMouseEvent::
setLastScreenPos(QPoint) -
setModifiers
See
QGraphicsSceneMouseEvent::
setModifiers(Qt::KeyboardModifiers) -
setPos
See
QGraphicsSceneMouseEvent::
setPos(QPointF) -
setScenePos
See
QGraphicsSceneMouseEvent::
setScenePos(QPointF) -
setScreenPos
See
QGraphicsSceneMouseEvent::
setScreenPos(QPoint) -
setSource
See
QGraphicsSceneMouseEvent::
setSource(Qt::MouseEventSource) -
source
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.MouseEventFlags)
. -
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
.
-