The QEvent class is base class of all event classes. Event objects contain event parameters. Inherited by QChildEvent , QCloseEvent , QCustomEvent , QDragLeaveEvent, QDragMoveEvent , QDragResponseEvent, QDropEvent , QFocusEvent , QHideEvent, QKeyEvent , QMouseEvent , QMoveEvent , QPaintEvent , QResizeEvent , QShowEvent and QTimerEvent . List of all member functions. 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 descripe the particular event. The file qevent.h lists all event types. Reports an error if the event has been posted.