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
- 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.