def graphic_context_menu(self, pos):
menu = QtGui.QMenu()<EOL>self.actionSave_bis = menu.addAction("<STR_LIT>")<EOL>self.actionSave_as_bis = menu.addAction("<STR_LIT>")<EOL>action = menu.exec_(self.table_widget.mapFromGlobal(pos))<EOL>if action == self.actionSave_bis:<EOL><INDENT>self.save_figure()<EOL><DEDENT>elif action == self.actionSave_as_bis:<EOL><INDENT>self.save_figure_as()<EOL><DEDENT>
This function will open a context menu on the graphic to save it.
Inputs : pos : The position of the mouse cursor.