QAction
QAction is a class in the Qt application framework that represents an abstract user interface action. It is designed to be attached to widgets such as menus, toolbars, or custom controls, enabling a single action to drive multiple UI elements and maintain consistent behavior across the interface.
Key features include a text label, an icon, and a shortcut (keyboard sequence). An action can also
Signals associated with QAction include triggered(bool) and toggled(bool). The triggered signal is emitted when the user
Usage typically involves creating a QAction with a parent object, configuring its text, icon, and shortcut,
Notes: QAction is part of the QtWidgets module; its exact namespace or module may vary across Qt