3. 7.1 QEvent
● The QEvent class is the base class of all event
classes
● Qt's main event loop
(QCoreApplication::exec())
fetches native window system events from the
event queue, translates them into QEvents, and
sends the translated events to QObjects.
4. QWidget::event()
● This is the main event handler; it handles event
event
● You can re-implement this function in a
subclass, but we recommend using one of
the specialized event handlers instead
( keyPressEvent(), mouseMoveEvent(),
paintEvent(), etc... ).