Exactly the same way you do anywhere else, by using a pointer to the control:
Qt Code:
  1. com->currentText();
To copy to clipboard, switch view to plain text mode 
You have to keep a pointer to the control to be able to do this.