- 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
-
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, QPoint pos) Overloaded function forsetButtonDownPos(io.qt.core.Qt.MouseButton, io.qt.core.QPointF)
.final void
setButtonDownPos
(Qt.MouseButton button, QPointF pos) SeeQGraphicsSceneMouseEvent::
setButtonDownPos(Qt::MouseButton, QPointF) final void
setButtonDownScenePos
(Qt.MouseButton button, QPoint pos) Overloaded function forsetButtonDownScenePos(io.qt.core.Qt.MouseButton, io.qt.core.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
(QPoint pos) Overloaded function forsetLastPos(io.qt.core.QPointF)
.final void
setLastPos
(QPointF pos) SeeQGraphicsSceneMouseEvent::
setLastPos(QPointF) final void
setLastScenePos
(QPoint pos) Overloaded function forsetLastScenePos(io.qt.core.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
Overloaded function forsetPos(io.qt.core.QPointF)
.final void
SeeQGraphicsSceneMouseEvent::
setPos(QPointF) final void
setScenePos
(QPoint pos) Overloaded function forsetScenePos(io.qt.core.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) - Parameters:
type
-
-
QGraphicsSceneMouseEvent
public QGraphicsSceneMouseEvent()Overloaded constructor for
QGraphicsSceneMouseEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.
-
-
Method Details
-
button
- Returns:
-
buttonDownPos
- Parameters:
button
-- Returns:
-
buttonDownScenePos
- Parameters:
button
-- Returns:
-
buttonDownScreenPos
- Parameters:
button
-- Returns:
-
buttons
- Returns:
-
flags
- Returns:
-
lastPos
- Returns:
-
lastScenePos
- Returns:
-
lastScreenPos
- Returns:
-
modifiers
- Returns:
-
pos
- Returns:
-
scenePos
- Returns:
-
screenPos
- Returns:
-
setButton
See
QGraphicsSceneMouseEvent::
setButton(Qt::MouseButton) - Parameters:
button
-
-
setButtonDownPos
See
QGraphicsSceneMouseEvent::
setButtonDownPos(Qt::MouseButton, QPointF) - Parameters:
button
-pos
-
-
setButtonDownScenePos
See
QGraphicsSceneMouseEvent::
setButtonDownScenePos(Qt::MouseButton, QPointF) - Parameters:
button
-pos
-
-
setButtonDownScreenPos
See
QGraphicsSceneMouseEvent::
setButtonDownScreenPos(Qt::MouseButton, QPoint) - Parameters:
button
-pos
-
-
setButtons
See
QGraphicsSceneMouseEvent::
setButtons(Qt::MouseButtons) - Parameters:
buttons
-
-
setFlags
See
QGraphicsSceneMouseEvent::
setFlags(Qt::MouseEventFlags) - Parameters:
arg__1
-
-
setLastPos
See
QGraphicsSceneMouseEvent::
setLastPos(QPointF) - Parameters:
pos
-
-
setLastScenePos
See
QGraphicsSceneMouseEvent::
setLastScenePos(QPointF) - Parameters:
pos
-
-
setLastScreenPos
See
QGraphicsSceneMouseEvent::
setLastScreenPos(QPoint) - Parameters:
pos
-
-
setModifiers
See
QGraphicsSceneMouseEvent::
setModifiers(Qt::KeyboardModifiers) - Parameters:
modifiers
-
-
setPos
See
QGraphicsSceneMouseEvent::
setPos(QPointF) - Parameters:
pos
-
-
setScenePos
See
QGraphicsSceneMouseEvent::
setScenePos(QPointF) - Parameters:
pos
-
-
setScreenPos
See
QGraphicsSceneMouseEvent::
setScreenPos(QPoint) - Parameters:
pos
-
-
setSource
See
QGraphicsSceneMouseEvent::
setSource(Qt::MouseEventSource) - Parameters:
source
-
-
source
- Returns:
-
setButtonDownPos
Overloaded function for
setButtonDownPos(io.qt.core.Qt.MouseButton, io.qt.core.QPointF)
. -
setButtonDownScenePos
Overloaded function for
setButtonDownScenePos(io.qt.core.Qt.MouseButton, io.qt.core.QPointF)
. -
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.MouseEventFlags)
. -
setLastPos
Overloaded function for
setLastPos(io.qt.core.QPointF)
. -
setLastScenePos
Overloaded function for
setLastScenePos(io.qt.core.QPointF)
. -
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setPos
Overloaded function for
setPos(io.qt.core.QPointF)
. -
setScenePos
Overloaded function for
setScenePos(io.qt.core.QPointF)
.
-