I've been searching this and other forums for how to do this so I hope I haven't missed something obvious. If you create an edit menu in the main window (which displays in the menubar in Mac OS X), it takes over events from keyboard commands for copy, paste etc. that are already defined in widgets, line edits etc. and doesn't pass them on.

I found a number of partial solutions but nothing that looks like a nice clean design. But what surprises me is that there isn't a standard recipe or implementation you can just drop in. Standard cut-copy-paste-undo-redo is expected on Mac OS, and to some extent in main window apps on other platforms too.

If I'm missing something, please let me know.