Implement F7 (copy) and F12 (SQL) in the main menu of the picture editor.