java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QMouseEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains parameters that describe a mouse event
Java wrapper for Qt class QMouseEvent
-
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
ConstructorDescriptionQMouseEvent
(QEvent.Type type, QPointF localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) QMouseEvent
(QEvent.Type type, QPoint localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) QMouseEvent
(QMouseEvent other) SeeQMouseEvent::
QMouseEvent(QMouseEvent) -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.MouseButton
button()
final Qt.MouseButtons
buttons()
protected final int
caps()
SeeQMouseEvent::
caps clone()
Creates and returns a copy of this object.final Qt.MouseEventFlags
flags()
final QPoint
final int
globalX()
final int
globalY()
final QPointF
localPos()
final QPoint
pos()
final QPointF
protected final void
setButton
(Qt.MouseButton button) SeeQMouseEvent::
b protected final void
setButtons
(Qt.MouseButton ... buttons) Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.protected final void
setButtons
(Qt.MouseButtons buttons) SeeQMouseEvent::
mouseState protected final void
setCaps
(int caps) SeeQMouseEvent::
caps final void
setLocalPos
(QPoint localPosition) Overloaded function forsetLocalPos(io.qt.core.QPointF)
.final void
setLocalPos
(QPointF localPosition) SeeQMouseEvent::
setLocalPos(QPointF) protected final void
setScreenPos
(QPoint screenPos) Overloaded function forsetScreenPos(io.qt.core.QPointF)
.protected final void
setScreenPos
(QPointF screenPos) SeeQMouseEvent::
s protected final void
setVelocity
(QVector2D velocity) SeeQMouseEvent::
velocity protected final void
setWindowPos
(QPoint windowPos) Overloaded function forsetWindowPos(io.qt.core.QPointF)
.protected final void
setWindowPos
(QPointF windowPos) SeeQMouseEvent::
w final Qt.MouseEventSource
source()
protected final QVector2D
velocity()
SeeQMouseEvent::
velocity final QPointF
final int
x()
final int
y()
Methods inherited from class io.qt.gui.QInputEvent
modifiers, setModifiers, setModifiers, setTimestamp, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
See
QMouseEvent::
QMouseEvent(QMouseEvent) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint windowPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint windowPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint screenPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifier ... modifiers)
-
-
Method Details
-
button
-
buttons
-
flags
-
globalPos
-
globalX
-
globalY
-
localPos
-
pos
-
screenPos
-
setLocalPos
See
QMouseEvent::
setLocalPos(QPointF) -
source
-
windowPos
-
x
-
y
-
setButton
See
QMouseEvent::
b -
setCaps
See
QMouseEvent::
caps -
caps
See
QMouseEvent::
caps -
setButtons
See
QMouseEvent::
mouseState -
setScreenPos
See
QMouseEvent::
s -
setVelocity
See
QMouseEvent::
velocity -
velocity
See
QMouseEvent::
velocity -
setWindowPos
See
QMouseEvent::
w -
clone
Creates and returns a copy of this object.
See
QMouseEvent::
QMouseEvent(QMouseEvent) - Overrides:
clone
in classQInputEvent
-
setLocalPos
Overloaded function for
setLocalPos(io.qt.core.QPointF)
. -
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setScreenPos
Overloaded function for
setScreenPos(io.qt.core.QPointF)
. -
setWindowPos
Overloaded function for
setWindowPos(io.qt.core.QPointF)
.
-