- All Implemented Interfaces:
QtObjectInterface
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.gui.QSinglePointEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) SeeQMouseEvent::
QMouseEvent(QEvent::Type, QPointF, QPointF, QPointF, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::MouseEventSource, const QPointingDevice*) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) SeeQMouseEvent::
QMouseEvent(QEvent::Type, QPointF, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) QMouseEvent
(QEvent.Type type, QPoint localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
.QMouseEvent
(QEvent.Type type, QPoint localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) protected
QMouseEvent
(QMouseEvent arg__1) SeeQMouseEvent::
QMouseEvent(QMouseEvent) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QMouseEvent other) SeeQMouseEvent::
operator=(QMouseEvent) clone()
final Qt.MouseEventFlags
flags()
final QPoint
Deprecated.final int
globalX()
Deprecated.UseQSinglePointEvent.globalPosition()
instead@returnfinal int
globalY()
Deprecated.UseQSinglePointEvent.globalPosition()
instead@returnfinal QPointF
localPos()
Deprecated.UseQSinglePointEvent.position()
instead@returnfinal QPoint
pos()
SeeQMouseEvent::
pos()const final QPointF
Deprecated.UseQSinglePointEvent.globalPosition()
instead@returnprotected final void
set
(QMouseEvent other) Deprecated.Useassign(io.qt.gui.QMouseEvent)
instead.final Qt.MouseEventSource
source()
SeeQMouseEvent::
source()const final QPointF
Deprecated.UseQSinglePointEvent.scenePosition()
instead@returnfinal int
x()
Deprecated.UseQSinglePointEvent.position()
instead@returnfinal int
y()
Deprecated.UseQSinglePointEvent.position()
instead@returnMethods inherited from class io.qt.gui.QSinglePointEvent
assign, button, buttons, doubleClick, exclusivePointGrabber, globalPosition, invertedScrolling, isBeginEvent, isEndEvent, isUpdateEvent, phaseFlag, position, scenePosition, setButton, setButtons, setButtons, setDoubleClick, setExclusivePointGrabber, setInvertedScrolling, setPhaseFlag, setSourceFlag, sourceFlag
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, assign, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
assign, device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) See
QMouseEvent::
QMouseEvent(QEvent::Type, QPointF, QPointF, QPointF, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::MouseEventSource, const QPointingDevice*) - Parameters:
type
-localPos
-scenePos
-globalPos
-button
-buttons
-modifiers
-source
-device
-
-
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) - Parameters:
type
-localPos
-scenePos
-globalPos
-button
-buttons
-modifiers
-device
-
-
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) - Parameters:
type
-localPos
-globalPos
-button
-buttons
-modifiers
-device
-
-
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) See
QMouseEvent::
QMouseEvent(QEvent::Type, QPointF, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*) - Parameters:
type
-localPos
-button
-buttons
-modifiers
-device
-
-
QMouseEvent
See
QMouseEvent::
QMouseEvent(QMouseEvent) - Parameters:
arg__1
-
-
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device) -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPointF localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)
withdevice = io.qt.gui.QPointingDevice.primaryPointingDevice()
. -
QMouseEvent
public QMouseEvent(QEvent.Type type, QPoint localPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QPointingDevice device)
-
-
Method Details
-
flags
- Returns:
-
globalPos
Deprecated.UseQSinglePointEvent.globalPosition()
instead@returnSee
QMouseEvent::
globalPos()const -
globalX
Deprecated.UseQSinglePointEvent.globalPosition()
instead@returnSee
QMouseEvent::
globalX()const -
globalY
Deprecated.UseQSinglePointEvent.globalPosition()
instead@returnSee
QMouseEvent::
globalY()const -
localPos
Deprecated.UseQSinglePointEvent.position()
instead@returnSee
QMouseEvent::
localPos()const -
assign
See
QMouseEvent::
operator=(QMouseEvent) - Parameters:
other
-
-
pos
See
QMouseEvent::
pos()const - Returns:
-
screenPos
Deprecated.UseQSinglePointEvent.globalPosition()
instead@returnSee
QMouseEvent::
screenPos()const -
source
See
QMouseEvent::
source()const - Returns:
-
windowPos
Deprecated.UseQSinglePointEvent.scenePosition()
instead@returnSee
QMouseEvent::
windowPos()const -
x
Deprecated.UseQSinglePointEvent.position()
instead@returnSee
QMouseEvent::
x()const -
y
Deprecated.UseQSinglePointEvent.position()
instead@returnSee
QMouseEvent::
y()const -
clone
- Overrides:
clone
in classQSinglePointEvent
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
set
Deprecated.Useassign(io.qt.gui.QMouseEvent)
instead.
-
QSinglePointEvent.globalPosition()
instead@return