NAME QEvent - Base class of all event classes. Inherited by QChildEvent, QCloseEvent, QCustomEvent, QDragLeaveEvent, QDragResponseEvent, QDropEvent, QFocusEvent, QHideEvent, QKeyEvent, QMouseEvent, QMoveEvent, QPaintEvent, QResizeEvent, QShowEvent, QTimerEvent and QWheelEvent. The QEvent class is base class of all event classes.
Event objects contain event parameters.
The main event loop of Qt fetches native window system events from the event queue, translates them into QEvent and sends the translated events to QObjects. The basic QEvent only contains an event type parameter. Subclasses of QEvent contain additional parameters that describe the particular event. Contructs an event object with a type . The file qevent.h lists all event types.