How to implement the “Edit” menu with “Undo”, “Cut”, “Paste” and “Copy”?

后端 未结 4 501
野的像风
野的像风 2021-01-12 06:34

Greetings,

for one of my applications I\'m trying to implement an \"Edit\" menu. This menu usually has the standard-entries Undo, Cut, Copy

4条回答
  •  醉话见心
    2021-01-12 07:04

    My impression is that the Edit menu applies to the central document widget, not loads of small ones. I have not tested, but if you have a form with QLineEdits, does the Edit menu (in the menu bar) really apply to that widget. Don't you simple bring up the context menu or press the short-cuts to access these options...

提交回复
热议问题