java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
- All Implemented Interfaces:
QtObjectInterface
- 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
public class QEvent extends QtObject
The base class of all event classes. Event objects contain event parameters
Java wrapper for Qt class QEvent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QEvent.Type
Java wrapper for Qt enum QEvent::Type -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QEvent(QEvent other)
QEvent(QEvent.Type type)
protected
QEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
accept()
See QEvent::accept()void
ignore()
See QEvent::ignore()boolean
isAccepted()
static int
registerEventType()
Overloaded function forregisterEventType(int)
withhint = -1
.static int
registerEventType(int hint)
void
setAccepted(boolean accepted)
protected void
setT(short t)
boolean
spontaneous()
protected short
t()
String
toString()
QEvent.Type
type()
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
Method Details
-
accept
See QEvent::accept()
-
ignore
See QEvent::ignore()
-
isAccepted
-
setAccepted
-
spontaneous
-
type
-
registerEventType
public static int registerEventType()Overloaded function for
registerEventType(int)
withhint = -1
. -
registerEventType
public static int registerEventType(int hint) -
setT
-
t
-
toString
-