- 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
-
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
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, 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
protected final boolean
Kotlin property getter.final QObject
Kotlin property getter.protected final boolean
Kotlin property getter.protected final short
Kotlin property getter.protected final Qt.MouseEventSource
Kotlin property getter.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) -
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, 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) -
QSinglePointEvent
See
QSinglePointEvent::
QSinglePointEvent(QSinglePointEvent)
-
-
Method Details
-
button
-
buttons
-
getExclusivePointGrabber
Kotlin property getter. In Java use
exclusivePointGrabber()
instead. -
exclusivePointGrabber
-
globalPosition
-
assign
See
QSinglePointEvent::
operator=(QSinglePointEvent) -
position
-
scenePosition
-
setExclusivePointGrabber
-
clone
- Overrides:
clone
in classQPointerEvent
-
isBeginEvent
See
QPointerEvent::
isBeginEvent()const - Overrides:
isBeginEvent
in classQPointerEvent
-
isEndEvent
See
QPointerEvent::
isEndEvent()const - Overrides:
isEndEvent
in classQPointerEvent
-
isUpdateEvent
See
QPointerEvent::
isUpdateEvent()const - Overrides:
isUpdateEvent
in classQPointerEvent
-
setButton
See
QSinglePointEvent::
m_button -
setDoubleClick
See
QSinglePointEvent::
m_doubleClick -
getDoubleClick
Kotlin property getter. In Java use
doubleClick()
instead. -
doubleClick
See
QSinglePointEvent::
m_doubleClick -
setInvertedScrolling
See
QSinglePointEvent::
m_invertedScrolling -
getInvertedScrolling
Kotlin property getter. In Java use
invertedScrolling()
instead. -
invertedScrolling
See
QSinglePointEvent::
m_invertedScrolling -
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setButtons
See
QSinglePointEvent::
m_mouseState -
setPhaseFlag
See
QSinglePointEvent::
m_phase -
getPhaseFlag
Kotlin property getter. In Java use
phaseFlag()
instead. -
phaseFlag
See
QSinglePointEvent::
m_phase -
setSourceFlag
See
QSinglePointEvent::
m_source -
getSourceFlag
Kotlin property getter. In Java use
sourceFlag()
instead. -
sourceFlag
See
QSinglePointEvent::
m_source
-