The text editor example has four choices on its Edit pull-down menu that would be useful to have on a popup menu.
Adding a popup menu
To add a popup menu that has the four choices:
Adding a separator
Next, add a separator between the Paste and Select all choices.
(Separator part) is in
(Menus category).
Adding the connections
Finally, add the connections. Connect the clicked event of each menu choice to the following actions:
And, connect the popup menu's self attribute to the Multi-line Edit's menu attribute.
Now you're done! Select
(Test tool) and try out the menus. Then, save the part.