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
,QExposeEvent
,QFileOpenEvent
,QFocusEvent
,QGestureEvent
,QGraphicsSceneEvent
,QHelpEvent
,QHideEvent
,QIconDragEvent
,QInputEvent
,QInputMethodEvent
,QInputMethodQueryEvent
,QMoveEvent
,QPaintEvent
,QPlatformSurfaceEvent
,QResizeEvent
,QScreenOrientationChangeEvent
,QScrollEvent
,QScrollPrepareEvent
,QShortcutEvent
,QShowEvent
,QStatusTipEvent
,QTimerEvent
,QToolBarChangeEvent
,QWhatsThisClickedEvent
,QWindowStateChangeEvent
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 protected
QEvent(QEvent arg__1)
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()QEvent
clone()
void
ignore()
See QEvent::ignore()boolean
isAccepted()
boolean
isInputEvent()
boolean
isPointerEvent()
boolean
isSinglePointEvent()
static int
registerEventType()
Overloaded function forregisterEventType(int)
withhint = -1
.static int
registerEventType(int hint)
protected void
set(QEvent other)
void
setAccepted(boolean accepted)
boolean
spontaneous()
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
-
isInputEvent
-
isPointerEvent
-
isSinglePointEvent
-
set
-
spontaneous
-
type
-
clone
-
setAccepted
-
registerEventType
public static int registerEventType()Overloaded function for
registerEventType(int)
withhint = -1
. -
registerEventType
public static int registerEventType(int hint) -
toString
-