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
Nested ClassesNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors -
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
-
QEvent
-
-
Method Details
-
accept
See
QEvent::
accept() -
ignore
See
QEvent::
ignore() -
isAccepted
-
assign
See
QEvent::
operator=(QEvent) -
setAccepted
-
spontaneous
-
type
-
registerEventType
public static int registerEventType(int hint) -
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.