- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QEnterEvent
,QHoverEvent
,QMouseEvent
,QNativeGestureEvent
,QTabletEvent
,QWheelEvent
A base class for pointer events containing a single point, such as mouse events
Java wrapper for Qt class QSinglePointEvent
- Since:
- This class was introduced in Qt 6.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionprotected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) SeeQSinglePointEvent::
QSinglePointEvent(QEvent::Type, const QPointingDevice*, QPointF, QPointF, QPointF, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::MouseEventSource) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
.protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) protected
QSinglePointEvent
(QEvent.Type type, QPointingDevice dev, QEventPoint point, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) SeeQSinglePointEvent::
QSinglePointEvent(QEvent::Type, const QPointingDevice*, QEventPoint, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::MouseEventSource) protected
QSinglePointEvent
(QSinglePointEvent arg__1) SeeQSinglePointEvent::
QSinglePointEvent(QSinglePointEvent) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QSinglePointEvent other) SeeQSinglePointEvent::
operator=(QSinglePointEvent) final Qt.MouseButton
button()
final Qt.MouseButtons
buttons()
clone()
protected final boolean
SeeQSinglePointEvent::
m_doubleClick final QObject
final QPointF
protected final boolean
SeeQSinglePointEvent::
m_invertedScrolling boolean
SeeQPointerEvent::
isBeginEvent()const boolean
SeeQPointerEvent::
isEndEvent()const boolean
SeeQPointerEvent::
isUpdateEvent()const protected final short
SeeQSinglePointEvent::
m_phase final QPointF
position()
final QPointF
protected final void
setButton
(Qt.MouseButton button) SeeQSinglePointEvent::
m_button protected final void
setButtons
(Qt.MouseButton ... buttons) Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.protected final void
setButtons
(Qt.MouseButtons buttons) SeeQSinglePointEvent::
m_mouseState protected final void
setDoubleClick
(boolean doubleClick) SeeQSinglePointEvent::
m_doubleClick final void
setExclusivePointGrabber
(QObject exclusiveGrabber) protected final void
setInvertedScrolling
(boolean invertedScrolling) SeeQSinglePointEvent::
m_invertedScrolling protected final void
setPhaseFlag
(short phaseFlag) SeeQSinglePointEvent::
m_phase protected final void
setSourceFlag
(Qt.MouseEventSource sourceFlag) SeeQSinglePointEvent::
m_source protected final Qt.MouseEventSource
SeeQSinglePointEvent::
m_source 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
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QEventPoint point, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) See
QSinglePointEvent::
QSinglePointEvent(QEvent::Type, const QPointingDevice*, QEventPoint, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::MouseEventSource) - Parameters:
type
-dev
-point
-button
-buttons
-modifiers
-source
-
-
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) See
QSinglePointEvent::
QSinglePointEvent(QEvent::Type, const QPointingDevice*, QPointF, QPointF, QPointF, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::MouseEventSource) - Parameters:
type
-dev
-localPos
-scenePos
-globalPos
-button
-buttons
-modifiers
-source
-
-
QSinglePointEvent
See
QSinglePointEvent::
QSinglePointEvent(QSinglePointEvent) - Parameters:
arg__1
-
-
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPointF scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPoint scenePos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPointF scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPointF localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source) -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, 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)
withsource = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
. -
QSinglePointEvent
protected QSinglePointEvent(QEvent.Type type, QPointingDevice dev, QPoint localPos, QPoint scenePos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.MouseEventSource source)
-
-
Method Details
-
button
- Returns:
-
buttons
- Returns:
-
exclusivePointGrabber
- Returns:
-
globalPosition
- Returns:
-
assign
See
QSinglePointEvent::
operator=(QSinglePointEvent) - Parameters:
other
-
-
position
- Returns:
-
scenePosition
- Returns:
-
setExclusivePointGrabber
- Parameters:
exclusiveGrabber
-
-
clone
- Overrides:
clone
in classQPointerEvent
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
isBeginEvent
See
QPointerEvent::
isBeginEvent()const - Overrides:
isBeginEvent
in classQPointerEvent
- Returns:
-
isEndEvent
See
QPointerEvent::
isEndEvent()const - Overrides:
isEndEvent
in classQPointerEvent
- Returns:
-
isUpdateEvent
See
QPointerEvent::
isUpdateEvent()const - Overrides:
isUpdateEvent
in classQPointerEvent
- Returns:
-
setButton
See
QSinglePointEvent::
m_button - Parameters:
button
-
-
setDoubleClick
See
QSinglePointEvent::
m_doubleClick - Parameters:
doubleClick
-
-
doubleClick
See
QSinglePointEvent::
m_doubleClick - Returns:
-
setInvertedScrolling
See
QSinglePointEvent::
m_invertedScrolling - Parameters:
invertedScrolling
-
-
invertedScrolling
See
QSinglePointEvent::
m_invertedScrolling - Returns:
-
setButtons
See
QSinglePointEvent::
m_mouseState - Parameters:
buttons
-
-
setPhaseFlag
See
QSinglePointEvent::
m_phase - Parameters:
phaseFlag
-
-
phaseFlag
See
QSinglePointEvent::
m_phase - Returns:
-
setSourceFlag
See
QSinglePointEvent::
m_source - Parameters:
sourceFlag
-
-
sourceFlag
See
QSinglePointEvent::
m_source - Returns:
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
.
-