use the name of the action instead of ations()->first()
use the name of the action instead of ations()->first()
Thanks,
How can I use the name of the action, there is no findAction("") method ?
Also actions() is empty in my main window ! do you know why ?
somewhere in your code must be something like this:
if you create your form via QtDesigner, you have to create all actions via the action editor. there you give each action a name. You can access your actions the same way as each other gui-element.
?Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks