...
The qaction command creates a QAction object. This objects serves the purpose of containing the commands to be executed in response to the user selecting various controls, like menu items. Actions usually contain a descriptive text or an icon. Actions are used to populate menus. See qmainwindow for examples.
Arguments
text
...