![]() |
Qt 6.x
The Qt SDK
|
The QActionEvent class provides an event that is generated when a QAction is added, removed, or changed. More...
The QActionEvent class provides an event that is generated when a QAction is added, removed, or changed.
\inmodule QtGui
Actions can be added to controls, for example by using QWidget::addAction(). This generates an \l ActionAdded event, which you can handle to provide custom behavior. For example, QToolBar reimplements QWidget::actionEvent() to create \l{QToolButton}s for the actions.