java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QActionEvent,QApplicationStateChangeEvent,QChildEvent,QCloseEvent,QDeferredDisposeEvent,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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObjectThis variable stores the meta-object for the class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaccept()SeeQEvent::accept() protected final voidSeeQEvent::operator=(QEvent) clone()final voidignore()SeeQEvent::ignore() final booleanfinal booleanfinal booleanfinal booleanstatic intOverloaded function forregisterEventType(int)withhint = -1.static intregisterEventType(int hint) protected final voidDeprecated.voidsetAccepted(boolean accepted) final booleantoString()Returns the string representation of theQEvent.final QEvent.Typetype()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
-
isInputEvent
-
isPointerEvent
-
isSinglePointEvent
-
assign
See
QEvent::operator=(QEvent) -
spontaneous
-
type
-
clone
-
setAccepted
-
registerEventType
public static int registerEventType(int hint) -
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.