java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QActionEvent
,QApplicationStateChangeEvent
,QChildEvent
,QCloseEvent
,QDeferredDisposeEvent
,QDragLeaveEvent
,QDropEvent
,QDynamicPropertyChangeEvent
,QEnterEvent
,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
,QWinEvent
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() final void
SeeQEvent::
operator=(QEvent) clone()
Creates and returns a copy of this object.final void
ignore()
SeeQEvent::
ignore() final boolean
static int
Overloaded function forregisterEventType(int)
withhint = -1
.static int
registerEventType
(int hint) final void
Deprecated.final 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:
other
-
-
QEvent
- Parameters:
type
-
-
-
Method Details
-
accept
See
QEvent::
accept() -
ignore
See
QEvent::
ignore() -
isAccepted
- Returns:
-
assign
See
QEvent::
operator=(QEvent) - Parameters:
other
-
-
setAccepted
- Parameters:
accepted
-
-
spontaneous
- Returns:
-
type
- Returns:
-
registerEventType
public static int registerEventType(int hint) - Parameters:
hint
-- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
toString
Returns the string representation of theQEvent
. -
clone
Creates and returns a copy of this object.
-
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.