You can move a window to the mouse position with code:
Qt Code:
  1. move(QCursor::pos());
To copy to clipboard, switch view to plain text mode 

but in my opinion this is a bad idea. The mouse cursor might be anywhere on the screen and the window could possibly be misplaced partially out of the screen.