QActionEvent Class
The QActionEvent class provides an event that is generated when a QAction is added, removed, or changed. More...
| Header: | #include <QActionEvent> |
| qmake: | QT += gui |
| Inherits: | QEvent |
Detailed Description
Actions can be added to widgets using QWidget::addAction(). This generates an ActionAdded event, which you can handle to provide custom behavior. For example, QToolBar reimplements QWidget::actionEvent() to create QToolButtons for the actions.
See also QAction, QWidget::addAction(), QWidget::removeAction(), and QWidget::actions().