Action Editor didn't display the desire line of actions. Menu Toolbar objects have no action and slot trigger.
-
I'm following the notepad tutorial of qt6.5 of making notepad and here it says -Click on "Type Here", and add the options New, Open, Save, Save as, Print and Exit. This creates 5 lines in the Action Editor below. To connect the actions to slots, right-click an action and select Go to slot > triggered(), and complete the code for that given slot.
but as in the above pic there the action editor is empty, there are no 5 lines created and right-click New objects shows not action option.
What should I do??
-
@amitsgh
Save, open, save as and new are menus, not actions. If they should be actions, remove them and add them as actions to the file menu. -
@Axel-Spoerl Can you suggest me on, how to add them as action to the file menu because I see no widget related to QAction in sidebar and the .ui file is read only.
-
@amitsgh
Have you read the documentation at all? -
@Axel-Spoerl Yes, I have but not this one. Thank you for the link!!
-