java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QActionEvent
,QApplicationStateChangeEvent
,QChildEvent
,QChildWindowEvent
,QCloseEvent
,QDragLeaveEvent
,QDropEvent
,QDynamicPropertyChangeEvent
,QExposeEvent
,QFileOpenEvent
,QFocusEvent
,QGestureEvent
,QGraphicsSceneEvent
,QHelpEvent
,QHideEvent
,QIconDragEvent
,QInputEvent
,QInputMethodEvent
,QInputMethodQueryEvent
,QMoveEvent
,QPaintEvent
,QPlatformSurfaceEvent
,QResizeEvent
,QScreenOrientationChangeEvent
,QScrollEvent
,QScrollPrepareEvent
,QShortcutEvent
,QShowEvent
,QStateMachine.SignalEvent
,QStateMachine.WrappedEvent
,QStatusTipEvent
,QTimerEvent
,QToolBarChangeEvent
,QWhatsThisClickedEvent
,QWindowStateChangeEvent
The base class of all event classes. Event objects contain event parameters
Java wrapper for Qt class QEvent
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
accept()
SeeQEvent::
accept() protected final void
SeeQEvent::
operator=(QEvent) clone()
final void
ignore()
SeeQEvent::
ignore() final boolean
final boolean
final boolean
final boolean
static int
Overloaded function forregisterEventType(int)
withhint = -1
.static int
registerEventType
(int hint) protected final void
Deprecated.void
setAccepted
(boolean accepted) final boolean
toString()
Returns the string representation of theQEvent
.final QEvent.Type
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
-
QEvent
- Parameters:
arg__1
-
-
QEvent
- Parameters:
type
-
-
-
Method Details
-
accept
See
QEvent::
accept() -
ignore
See
QEvent::
ignore() -
isAccepted
- Returns:
-
isInputEvent
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
isPointerEvent
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
isSinglePointEvent
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
assign
See
QEvent::
operator=(QEvent) - Parameters:
other
-
-
spontaneous
- Returns:
-
type
- Returns:
-
clone
-
setAccepted
- Parameters:
accepted
-
-
registerEventType
public static int registerEventType(int hint) - Parameters:
hint
-- Returns:
-
toString
Returns the string representation of theQEvent
. -
set
Deprecated.Useassign(io.qt.core.QEvent)
instead. -
registerEventType
public static int registerEventType()Overloaded function for
registerEventType(int)
withhint = -1
.
-
assign(io.qt.core.QEvent)
instead.