def _context_menu_make(self, pos):
menu = QtGui.QMenu(self)<EOL>self.cut_action = menu.addAction('<STR_LIT>', self.cut)<EOL>self.cut_action.setEnabled(self.can_cut())<EOL>self.cut_action.setShortcut(QtGui.QKeySequence.Cut)<EOL>self.copy_action = menu.addAction('<STR_LIT>', self.copy)<EOL>self.copy_action.setEnabled(self.can_copy())<EOL>self.copy_action.setShortcut(QtGui.QKeySequence.Copy)<EOL>self.paste_action = menu.addAction('<STR_LIT>', self.paste)<EOL>self.paste_action.setEnabled(self.can_paste())<EOL>self.paste_action.setShortcut(QtGui.QKeySequence.Paste)<EOL>menu.addSeparator()<EOL>menu.addAction(self.select_all_action)<EOL>menu.addSeparator()<EOL>menu.addAction(self.export_action)<EOL>menu.addAction(self.print_action)<EOL>return menu<EOL>
Creates a context menu for the given QPoint (in widget coordinates).